Skip to content

Commit

Permalink
supported_features TURN_ON and TURN_OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
frodef committed Feb 21, 2024
1 parent fafbe6e commit 46f7ac5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_components/nilan_cts600/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def temperature_unit(self):
@property
def supported_features(self):
"""Return the set of supported features."""
return ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
return ClimateEntityFeature.TARGET_TEMPERATURE \
| ClimateEntityFeature.FAN_MODE \
| ClimateEntityFeature.TURN_ON \
| ClimateEntityFeature.TURN_OFF

@property
def hvac_modes(self):
Expand Down

0 comments on commit 46f7ac5

Please sign in to comment.