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
+1
View File
@@ -144,6 +144,7 @@ class AnalogSensor {
void publish_values(const bool force);
void reload(bool get_nvs = false);
bool updated_values();
void ha_reset();
// return back reference to the sensor list, used by other classes
const std::vector<Sensor, AllocatorPSRAM<Sensor>> & sensors() const {