Skip to content

Commit

Permalink
Add TURN_ON/OFF ClimateEntityFeature for Netatmo (#108973)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Jan 30, 2024
1 parent 6d43a56 commit 36e3ba4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion homeassistant/components/netatmo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@
PRESET_MANUAL = "Manual"

SUPPORT_FLAGS = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.PRESET_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
SUPPORT_PRESET = [PRESET_AWAY, PRESET_BOOST, PRESET_FROST_GUARD, PRESET_SCHEDULE]

Expand Down

0 comments on commit 36e3ba4

Please sign in to comment.