From 0bb47ef12848d2e5d821381464d7a3a1489a72d9 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 14 Nov 2023 17:39:36 +0700 Subject: [PATCH] publish env during state request --- src/espmega_iot_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 0ff5efc..b900bb9 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -758,6 +758,7 @@ void state_request_callback() publish_pwm_states(); #ifdef ENABLE_CLIMATE_MODULE publish_ac_state(); + publish_env_state(); #endif user_state_request_callback(); }