From e7084226e72393f639f3797cc82650ae3e663c7f Mon Sep 17 00:00:00 2001 From: I-am-nightingale Date: Thu, 11 Apr 2024 20:53:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=83-=D1=81,=20=D0=BF=D0=BE=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B1=D1=83=D0=B5=D0=BC=20=D0=B5=D1=89=D0=B5=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tclac/tclac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tclac/tclac.cpp b/components/tclac/tclac.cpp index d267217..eda854b 100644 --- a/components/tclac/tclac.cpp +++ b/components/tclac/tclac.cpp @@ -194,7 +194,7 @@ void tclacClimate::control(const ClimateCall &call) { if (call.get_fan_mode().has_value()){ switch_fan_mode = call.get_fan_mode().value(); } else { - switch_fan_mode = fan_mode; + switch_fan_mode = fan_mode.value(); } // Запрашиваем данные из переключателя режимов качания заслонок