mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
cleanup publishing
This commit is contained in:
@@ -482,8 +482,6 @@ void EMSESP::publish_all(bool force) {
|
||||
publish_device_values(EMSdevice::DeviceType::MIXER);
|
||||
publish_device_values(EMSdevice::DeviceType::WATER);
|
||||
publish_other_values(); // switch and heat pump, ...
|
||||
webSchedulerService.publish();
|
||||
webCustomEntityService.publish();
|
||||
publish_sensor_values(true); // includes temperature and analog sensors
|
||||
system_.send_heartbeat();
|
||||
}
|
||||
@@ -518,8 +516,6 @@ void EMSESP::publish_all_loop() {
|
||||
break;
|
||||
case 6:
|
||||
publish_other_values(); // switch and heat pump
|
||||
webSchedulerService.publish(true);
|
||||
webCustomEntityService.publish(true);
|
||||
break;
|
||||
case 7:
|
||||
publish_sensor_values(true, true);
|
||||
@@ -611,6 +607,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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user