Add migrated climate feature flags to smartthings (#109426)

This commit is contained in:
G Johansson 2024-02-03 06:11:39 -05:00 committed by GitHub
parent 8bec20ffa7
commit 96feec9cbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,8 @@ def get_capabilities(capabilities: Sequence[str]) -> Sequence[str] | None:
class SmartThingsThermostat(SmartThingsEntity, ClimateEntity):
"""Define a SmartThings climate entities."""
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, device):
"""Init the class."""
super().__init__(device)
@ -343,6 +345,7 @@ class SmartThingsAirConditioner(SmartThingsEntity, ClimateEntity):
"""Define a SmartThings Air Conditioner."""
_hvac_modes: list[HVACMode]
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, device) -> None:
"""Init the class."""