mirror of
https://github.com/home-assistant/core.git
synced 2025-08-08 07:05:07 +02:00
Add new feature flags to melcloud (#109468)
This commit is contained in:
@@ -114,6 +114,7 @@ class MelCloudClimate(ClimateEntity):
|
|||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_name = None
|
_attr_name = None
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, device: MelCloudDevice) -> None:
|
def __init__(self, device: MelCloudDevice) -> None:
|
||||||
"""Initialize the climate."""
|
"""Initialize the climate."""
|
||||||
@@ -137,6 +138,8 @@ class AtaDeviceClimate(MelCloudClimate):
|
|||||||
ClimateEntityFeature.FAN_MODE
|
ClimateEntityFeature.FAN_MODE
|
||||||
| ClimateEntityFeature.TARGET_TEMPERATURE
|
| ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
| ClimateEntityFeature.SWING_MODE
|
| ClimateEntityFeature.SWING_MODE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, device: MelCloudDevice, ata_device: AtaDevice) -> None:
|
def __init__(self, device: MelCloudDevice, ata_device: AtaDevice) -> None:
|
||||||
|
Reference in New Issue
Block a user