cleanup publishing

This commit is contained in:
MichaelDvP
2023-11-05 14:20:13 +01:00
parent d18fd4948c
commit adcc59642c
3 changed files with 4 additions and 6 deletions

View File

@@ -179,8 +179,6 @@ void Mqtt::loop() {
if (publish_time_other_ && (currentMillis - last_publish_other_ > publish_time_other_)) {
last_publish_other_ = (currentMillis / publish_time_other_) * publish_time_other_;
EMSESP::publish_other_values(); // switch and heatpump
EMSESP::webSchedulerService.publish();
EMSESP::webCustomEntityService.publish();
} else
if (publish_time_sensor_ && (currentMillis - last_publish_sensor_ > publish_time_sensor_)) {