Skip to content

Commit

Permalink
Fix turn on / turn off actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Danstiv committed Nov 5, 2024
1 parent c1b61c4 commit e3040e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion custom_components/skykettle/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ def entity_category(self):

@property
def supported_features(self):
return WaterHeaterEntityFeature.TARGET_TEMPERATURE | WaterHeaterEntityFeature.OPERATION_MODE
return (
WaterHeaterEntityFeature.TARGET_TEMPERATURE
| WaterHeaterEntityFeature.OPERATION_MODE
| WaterHeaterEntityFeature.ON_OFF
)

@property
def temperature_unit(self):
Expand Down

0 comments on commit e3040e6

Please sign in to comment.