mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-13 05:34:34 +00:00
do not rebuild all HA configs on a mqtt reconnect, limit by heap
This commit is contained in:
+2
-2
@@ -657,8 +657,8 @@ void EMSESP::reset_mqtt_ha() {
|
||||
}
|
||||
|
||||
// force the re-creating of the temperature and analog sensor topics (for HA)
|
||||
temperaturesensor_.reload();
|
||||
analogsensor_.reload();
|
||||
temperaturesensor_.ha_reset();
|
||||
analogsensor_.ha_reset();
|
||||
|
||||
// rebuild MQTT HA config topics for shower, custom entities and scheduler
|
||||
shower_.ha_reset();
|
||||
|
||||
Reference in New Issue
Block a user