fix AC state request bug

This commit is contained in:
Siwat Sirichai 2024-02-06 16:35:18 +07:00
parent a2fe4a3d67
commit 1a4db016eb
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ void ClimateIoT::subscribe() {
this->subscribeRelative(AC_TEMPERATURE_SET_TOPIC); this->subscribeRelative(AC_TEMPERATURE_SET_TOPIC);
this->subscribeRelative(AC_MODE_SET_TOPIC); this->subscribeRelative(AC_MODE_SET_TOPIC);
this->subscribeRelative(AC_FAN_SPEED_SET_TOPIC); this->subscribeRelative(AC_FAN_SPEED_SET_TOPIC);
this->subscribeRelative(AC_REQUEST_STATE_TOPIC);
ESP_LOGD("ClimateIoT", "Subscribed to topics"); ESP_LOGD("ClimateIoT", "Subscribed to topics");
} }