Add TURN_ON/OFF ClimateEntityFeature for Fritzbox (#108964)

This commit is contained in:
G Johansson 2024-01-30 18:11:08 +01:00 committed by GitHub
parent 63594bac89
commit 96ee8ba9a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,10 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity):
_attr_precision = PRECISION_HALVES
_attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.PRESET_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_attr_temperature_unit = UnitOfTemperature.CELSIUS