Adds new climate feature flags to elkm1 (#109543)

This commit is contained in:
G Johansson
2024-02-04 15:57:55 +01:00
committed by Franck Nijhof
parent 14ad2e91f3
commit 12e32fb799
@@ -79,6 +79,8 @@ class ElkThermostat(ElkEntity, ClimateEntity):
ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.AUX_HEAT
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_attr_min_temp = 1
_attr_max_temp = 99
@@ -87,6 +89,7 @@ class ElkThermostat(ElkEntity, ClimateEntity):
_attr_target_temperature_step = 1
_attr_fan_modes = [FAN_AUTO, FAN_ON]
_element: Thermostat
_enable_turn_on_off_backwards_compatibility = False
@property
def temperature_unit(self) -> str: