add some HA config on mqtt reconnect

This commit is contained in:
MichaelDvP
2025-04-02 17:49:22 +02:00
parent d35574d494
commit 3eb20fa700
4 changed files with 11 additions and 1 deletions

View File

@@ -634,6 +634,9 @@ void EMSESP::reset_mqtt_ha() {
// force the re-creating of the temperature and analog sensor topics (for HA)
temperaturesensor_.reload();
analogsensor_.reload();
shower_.ha_reset();
webSchedulerService.ha_reset();
webCustomEntityService.ha_reset();
}
// create json doc for the devices values and add to MQTT publish queue