Add new climate feature flags to stiebel_eltron (#109457)

This commit is contained in:
G Johansson
2024-02-03 14:39:16 +01:00
committed by Franck Nijhof
parent 8cfe3821da
commit fecdfbfb9f
@@ -73,9 +73,13 @@ class StiebelEltron(ClimateEntity):
_attr_hvac_modes = SUPPORT_HVAC
_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
def __init__(self, name, ste_data):
"""Initialize the unit."""