From e2eee228435d149d622c6e4111bdbc2eb55ae07e Mon Sep 17 00:00:00 2001 From: MapoDan <42698485+MapoDan@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:14:58 +0100 Subject: [PATCH] Update config_schema.py --- custom_components/programmable_thermostat/config_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/programmable_thermostat/config_schema.py b/custom_components/programmable_thermostat/config_schema.py index 13233a0..15b5008 100755 --- a/custom_components/programmable_thermostat/config_schema.py +++ b/custom_components/programmable_thermostat/config_schema.py @@ -35,7 +35,7 @@ CONF_HVAC_OPTIONS = 'hvac_options' CONF_AUTO_MODE = 'auto_mode' CONF_MIN_CYCLE_DURATION = 'min_cycle_duration' -SUPPORT_FLAGS = (ClimateEntityFeature.TARGET_TEMPERATURE) +SUPPORT_FLAGS = (ClimateEntityFeature.TARGET_TEMPERATURE|ClimateEntityFeature.TURN_OFF|ClimateEntityFeature.TURN_ON) CLIMATE_SCHEMA = { vol.Optional(CONF_HEATER): cv.entity_ids,