1
0
mirror of https://github.com/home-assistant/core.git synced 2026-08-04 20:34:27 +01:00

Add new climate feature flags to homematic (#109554)

Adds new climate feature flags to homematic
This commit is contained in:
G Johansson
2024-02-04 04:40:02 -05:00
committed by Franck Nijhof
parent 4d7abbf8c5
commit 75c0c7bda0
@@ -56,9 +56,13 @@ class HMThermostat(HMDevice, ClimateEntity):
"""Representation of a Homematic thermostat."""
_attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.PRESET_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_attr_temperature_unit = UnitOfTemperature.CELSIUS
_enable_turn_on_off_backwards_compatibility = False
@property
def hvac_mode(self) -> HVACMode: