mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add migrated climate feature flags to zha (#109443)
This commit is contained in:
parent
595dd651bb
commit
16b20403e6
@ -141,6 +141,7 @@ class Thermostat(ZhaEntity, ClimateEntity):
|
|||||||
_attr_precision = PRECISION_TENTHS
|
_attr_precision = PRECISION_TENTHS
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_translation_key: str = "thermostat"
|
_attr_translation_key: str = "thermostat"
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, unique_id, zha_device, cluster_handlers, **kwargs):
|
def __init__(self, unique_id, zha_device, cluster_handlers, **kwargs):
|
||||||
"""Initialize ZHA Thermostat instance."""
|
"""Initialize ZHA Thermostat instance."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user