mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Add migrated climate feature flags to smartthings (#109426)
This commit is contained in:
parent
8bec20ffa7
commit
96feec9cbf
@ -162,6 +162,8 @@ def get_capabilities(capabilities: Sequence[str]) -> Sequence[str] | None:
|
|||||||
class SmartThingsThermostat(SmartThingsEntity, ClimateEntity):
|
class SmartThingsThermostat(SmartThingsEntity, ClimateEntity):
|
||||||
"""Define a SmartThings climate entities."""
|
"""Define a SmartThings climate entities."""
|
||||||
|
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, device):
|
def __init__(self, device):
|
||||||
"""Init the class."""
|
"""Init the class."""
|
||||||
super().__init__(device)
|
super().__init__(device)
|
||||||
@ -343,6 +345,7 @@ class SmartThingsAirConditioner(SmartThingsEntity, ClimateEntity):
|
|||||||
"""Define a SmartThings Air Conditioner."""
|
"""Define a SmartThings Air Conditioner."""
|
||||||
|
|
||||||
_hvac_modes: list[HVACMode]
|
_hvac_modes: list[HVACMode]
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, device) -> None:
|
def __init__(self, device) -> None:
|
||||||
"""Init the class."""
|
"""Init the class."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user