Add new climate feature flags to electrasmart (#109542)
Adds new climate feature flags to electrasmart
This commit is contained in:
parent
f154b7f2d9
commit
6b6d0606ac
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,7 @@ class ElectraClimateEntity(ClimateEntity):
|
|||
_attr_hvac_modes = ELECTRA_MODES
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(self, device: ElectraAirConditioner, api: ElectraAPI) -> None:
|
||||
"""Initialize Electra climate entity."""
|
||||
|
@ -121,6 +122,8 @@ class ElectraClimateEntity(ClimateEntity):
|
|||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.FAN_MODE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
|
||||
swing_modes: list = []
|
||||
|
|
Loading…
Add table
Reference in a new issue