Add new climate feature flags to heatmiser (#109551)

Adds new climate feature flags to heatmiser
This commit is contained in:
G Johansson 2024-02-03 20:29:56 -05:00 committed by GitHub
parent 24be51b223
commit c94eb436fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,12 @@ class HeatmiserV3Thermostat(ClimateEntity):
"""Representation of a HeatmiserV3 thermostat."""
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF]
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
_attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, therm, device, uh1):
"""Initialize the thermostat."""