From a9917e6d50605c5fd489451727da23fefd00c5b8 Mon Sep 17 00:00:00 2001 From: I-am-nightingale Date: Sat, 13 Apr 2024 00:42:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=BE=D0=B1=D1=83?= =?UTF-8?q?=D1=8E=20=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=B8=D1=82=D1=8C=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=D0=BF=D0=B5=D1=80=D0=B0=D1=82=D1=83=D1=80?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tclac/climate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/tclac/climate.py b/components/tclac/climate.py index ffa8de6..86c9d13 100644 --- a/components/tclac/climate.py +++ b/components/tclac/climate.py @@ -73,7 +73,7 @@ SUPPORTED_CLIMATE_MODES_OPTIONS = { } SUPPORTED_CLIMATE_PRESETS_OPTIONS = { - "NONE": ClimatePreset.CLIMATE_PRESET_NONE, + "NONE": ClimatePreset.CLIMATE_PRESET_NONE, # Доступен всегда "ECO": ClimatePreset.CLIMATE_PRESET_ECO, "SLEEP": ClimatePreset.CLIMATE_PRESET_SLEEP, "COMFORT": ClimatePreset.CLIMATE_PRESET_COMFORT, @@ -162,7 +162,8 @@ CONFIG_SCHEMA = cv.All( } ) .extend(uart.UART_DEVICE_SCHEMA) - .extend(cv.COMPONENT_SCHEMA) + .extend(cv.COMPONENT_SCHEMA), + validate_visual, ) ForceOnAction = tclac_ns.class_("ForceOnAction", automation.Action)