mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 18:24:49 -05:00
Adds new climate feature flags to elkm1 (#109543)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user