mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
publish schedule
This commit is contained in:
@@ -481,8 +481,6 @@ void EMSESP::publish_all(bool force) {
|
|||||||
publish_device_values(EMSdevice::DeviceType::SOLAR);
|
publish_device_values(EMSdevice::DeviceType::SOLAR);
|
||||||
publish_device_values(EMSdevice::DeviceType::MIXER);
|
publish_device_values(EMSdevice::DeviceType::MIXER);
|
||||||
publish_other_values(); // switch and heat pump, ...
|
publish_other_values(); // switch and heat pump, ...
|
||||||
webSchedulerService.publish();
|
|
||||||
webCustomEntityService.publish();
|
|
||||||
publish_sensor_values(true); // includes temperature and analog sensors
|
publish_sensor_values(true); // includes temperature and analog sensors
|
||||||
system_.send_heartbeat();
|
system_.send_heartbeat();
|
||||||
}
|
}
|
||||||
@@ -514,8 +512,6 @@ void EMSESP::publish_all_loop() {
|
|||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
publish_other_values(); // switch and heat pump
|
publish_other_values(); // switch and heat pump
|
||||||
webSchedulerService.publish(true);
|
|
||||||
webCustomEntityService.publish(true);
|
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
publish_sensor_values(true, true);
|
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::GATEWAY);
|
||||||
// publish_device_values(EMSdevice::DeviceType::CONNECT);
|
// publish_device_values(EMSdevice::DeviceType::CONNECT);
|
||||||
// publish_device_values(EMSdevice::DeviceType::GENERIC);
|
// publish_device_values(EMSdevice::DeviceType::GENERIC);
|
||||||
|
webSchedulerService.publish();
|
||||||
webCustomEntityService.publish();
|
webCustomEntityService.publish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user