mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Add migrated climate feature flags to shelly (#109425)
This commit is contained in:
parent
e0fc328e27
commit
97e6391b9a
@ -167,6 +167,7 @@ class BlockSleepingClimate(
|
|||||||
)
|
)
|
||||||
_attr_target_temperature_step = SHTRV_01_TEMPERATURE_SETTINGS["step"]
|
_attr_target_temperature_step = SHTRV_01_TEMPERATURE_SETTINGS["step"]
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
@ -448,6 +449,7 @@ class RpcClimate(ShellyRpcEntity, ClimateEntity):
|
|||||||
)
|
)
|
||||||
_attr_target_temperature_step = RPC_THERMOSTAT_SETTINGS["step"]
|
_attr_target_temperature_step = RPC_THERMOSTAT_SETTINGS["step"]
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, coordinator: ShellyRpcCoordinator, id_: int) -> None:
|
def __init__(self, coordinator: ShellyRpcCoordinator, id_: int) -> None:
|
||||||
"""Initialize."""
|
"""Initialize."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user