Adds new climate feature flags to elkm1 (#109543)
parent
63da42f394
commit
a7b52c8dd7
homeassistant/components/elkm1
|
@ -79,6 +79,8 @@ class ElkThermostat(ElkEntity, ClimateEntity):
|
||||||
ClimateEntityFeature.FAN_MODE
|
ClimateEntityFeature.FAN_MODE
|
||||||
| ClimateEntityFeature.AUX_HEAT
|
| ClimateEntityFeature.AUX_HEAT
|
||||||
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
|
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
_attr_min_temp = 1
|
_attr_min_temp = 1
|
||||||
_attr_max_temp = 99
|
_attr_max_temp = 99
|
||||||
|
@ -87,6 +89,7 @@ class ElkThermostat(ElkEntity, ClimateEntity):
|
||||||
_attr_target_temperature_step = 1
|
_attr_target_temperature_step = 1
|
||||||
_attr_fan_modes = [FAN_AUTO, FAN_ON]
|
_attr_fan_modes = [FAN_AUTO, FAN_ON]
|
||||||
_element: Thermostat
|
_element: Thermostat
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def temperature_unit(self) -> str:
|
def temperature_unit(self) -> str:
|
||||||
|
|
Loading…
Reference in New Issue