mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 16:45:19 +02:00
Add new climate feature flags to electrasmart (#109542)
Adds new climate feature flags to electrasmart
This commit is contained in:
@@ -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 = []
|
||||
|
Reference in New Issue
Block a user