From e5735ea80c3da52f3947748fab5b9eabe760a17f Mon Sep 17 00:00:00 2001 From: I-am-nightingale Date: Thu, 11 Apr 2024 20:57:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=20=D0=BF=D1=80=D0=BE=D1=88=D0=BB=D1=8B?= =?UTF-8?q?=D0=B9=20=D1=80=D0=B0=D0=B7=20=D1=81=D0=BA=D0=BE=D0=BC=D0=BF?= =?UTF-8?q?=D0=B8=D0=BB=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BB=D0=BE=D1=81?= =?UTF-8?q?=D1=8C=20:)=20=D0=9F=D0=BE=D1=80=D0=B0=20=D0=BF=D0=BE=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B1=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BD=D0=B0?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D1=83=20=D0=B2=20=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tclac/tclac.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/tclac/tclac.cpp b/components/tclac/tclac.cpp index eda854b..dc6a1f5 100644 --- a/components/tclac/tclac.cpp +++ b/components/tclac/tclac.cpp @@ -180,6 +180,7 @@ void tclacClimate::readData() { } // Публикуем данные this->publish_state(); + allow_take_control = true; } // Climate control @@ -214,6 +215,7 @@ void tclacClimate::control(const ClimateCall &call) { takeControl(); + allow_take_control = true; }