mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Adds new climate feature flags to elkm1 (#109543)
This commit is contained in:
parent
63da42f394
commit
a7b52c8dd7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user