Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Sep 14, 2024
1 parent 9bc26ca commit d57a108
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/powercalc/sensors/power.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ async def _select_sub_profile(
source_entity: SourceEntity,
) -> None:
"""Select the appropriate sub-profile based on the source entity's state."""
if not power_profile.sub_profile_select:
return
sub_profile_selector = SubProfileSelector(
hass,
sub_profile,
Expand Down

0 comments on commit d57a108

Please sign in to comment.