mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add some HA config on mqtt reconnect
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user