Add new feature flags to melcloud (#109468)

pull/109883/head
G Johansson 2024-02-03 05:18:40 -05:00 committed by Franck Nijhof
parent 1c0a6970e2
commit 2ac4bb8e9f
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,7 @@ class MelCloudClimate(ClimateEntity):
_attr_temperature_unit = UnitOfTemperature.CELSIUS
_attr_has_entity_name = True
_attr_name = None
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, device: MelCloudDevice) -> None:
"""Initialize the climate."""
@ -137,6 +138,8 @@ class AtaDeviceClimate(MelCloudClimate):
ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.SWING_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
def __init__(self, device: MelCloudDevice, ata_device: AtaDevice) -> None: