mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add new climate feature flags to heatmiser (#109551)
Adds new climate feature flags to heatmiser
This commit is contained in:
parent
24be51b223
commit
c94eb436fb
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user