Add new climate feature flags to escea (#109545)
Adds new climate feature flags to escea
This commit is contained in:
parent
39bd9cf6a2
commit
3429a4733d
1 changed files with 5 additions and 1 deletions
|
@ -82,10 +82,14 @@ class ControllerEntity(ClimateEntity):
|
|||
_attr_precision = PRECISION_WHOLE
|
||||
_attr_should_poll = False
|
||||
_attr_supported_features = (
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.FAN_MODE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
_attr_target_temperature_step = PRECISION_WHOLE
|
||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(self, controller: Controller) -> None:
|
||||
"""Initialise ControllerDevice."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue