From 654653f9c2affd34b589c080a68275a591b0f95f Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 28 Aug 2024 11:41:39 +0200 Subject: [PATCH] ClimateEntityFeature missing supported attributes --- custom_components/myhome/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/myhome/climate.py b/custom_components/myhome/climate.py index c5a4839..9fdfb20 100644 --- a/custom_components/myhome/climate.py +++ b/custom_components/myhome/climate.py @@ -147,7 +147,7 @@ def __init__( self._attr_min_temp = 5 self._attr_max_temp = 40 - self._attr_supported_features = 0 + self._attr_supported_features = ClimateEntityFeature.TURN_ON | ClimateEntityFeature.TURN_OFF self._attr_hvac_modes = [HVACMode.OFF] self._heating = heating self._cooling = cooling