Add new feature flags to melcloud (#109468)
This commit is contained in:
parent
e0f0159304
commit
98892f5b41
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue