add module's loop to loop()

This commit is contained in:
proddy
2024-05-27 22:16:10 +02:00
parent 38d22fd587
commit 5fceca38d9

View File

@@ -1666,6 +1666,7 @@ void EMSESP::loop() {
publish_all_loop(); // with HA messages in parts to avoid flooding the mqtt queue
mqtt_.loop(); // sends out anything in the MQTT queue
webSchedulerService.loop(); // handle any scheduled jobs
module_.loop(); // loop the external library modules
// force a query on the EMS devices to fetch latest data at a set interval (1 min)
scheduled_fetch_values();