mirror of
https://github.com/home-assistant/core.git
synced 2026-05-05 12:24:48 +02:00
Add new climate feature flags to hisense (#109552)
Adds new climate feature flags to hisense
This commit is contained in:
committed by
Franck Nijhof
parent
e1699b4d65
commit
bf4bc9d935
@@ -144,6 +144,8 @@ class ClimateAehW4a1(ClimateEntity):
|
||||
| ClimateEntityFeature.FAN_MODE
|
||||
| ClimateEntityFeature.SWING_MODE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
_attr_fan_modes = FAN_MODES
|
||||
_attr_swing_modes = SWING_MODES
|
||||
@@ -152,6 +154,7 @@ class ClimateAehW4a1(ClimateEntity):
|
||||
_attr_target_temperature_step = 1
|
||||
_previous_state: HVACMode | str | None = None
|
||||
_on: str | None = None
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(self, device):
|
||||
"""Initialize the climate device."""
|
||||
|
||||
Reference in New Issue
Block a user