From 1a4db016ebe73c5820000e10d8e0ad592c6c310d Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 6 Feb 2024 16:35:18 +0700 Subject: [PATCH] fix AC state request bug --- ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ClimateIoT.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ClimateIoT.cpp b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ClimateIoT.cpp index e6e179c..138e32d 100644 --- a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ClimateIoT.cpp +++ b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ClimateIoT.cpp @@ -148,6 +148,7 @@ void ClimateIoT::subscribe() { this->subscribeRelative(AC_TEMPERATURE_SET_TOPIC); this->subscribeRelative(AC_MODE_SET_TOPIC); this->subscribeRelative(AC_FAN_SPEED_SET_TOPIC); + this->subscribeRelative(AC_REQUEST_STATE_TOPIC); ESP_LOGD("ClimateIoT", "Subscribed to topics"); }