From ba9f16da0086521aca487c6046fb4aaf3320d209 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 8 Nov 2023 14:51:37 +0100 Subject: [PATCH] publish schedule --- src/emsesp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 0f50df108..f59e6f529 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -481,8 +481,6 @@ void EMSESP::publish_all(bool force) { publish_device_values(EMSdevice::DeviceType::SOLAR); publish_device_values(EMSdevice::DeviceType::MIXER); publish_other_values(); // switch and heat pump, ... - webSchedulerService.publish(); - webCustomEntityService.publish(); publish_sensor_values(true); // includes temperature and analog sensors system_.send_heartbeat(); } @@ -514,8 +512,6 @@ void EMSESP::publish_all_loop() { break; case 5: publish_other_values(); // switch and heat pump - webSchedulerService.publish(true); - webCustomEntityService.publish(true); break; case 6: publish_sensor_values(true, true); @@ -606,6 +602,7 @@ void EMSESP::publish_other_values() { // publish_device_values(EMSdevice::DeviceType::GATEWAY); // publish_device_values(EMSdevice::DeviceType::CONNECT); // publish_device_values(EMSdevice::DeviceType::GENERIC); + webSchedulerService.publish(); webCustomEntityService.publish(); }