do not rebuild all HA configs on a mqtt reconnect, limit by heap

This commit is contained in:
MichaelDvP
2026-08-17 14:11:42 +02:00
parent d397a14b41
commit c363e0e2c8
7 changed files with 33 additions and 19 deletions
+2 -2
View File
@@ -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();