fix publish_ha_config, and add clear

This commit is contained in:
MichaelDvP
2021-04-10 13:32:09 +02:00
parent 4cac16093f
commit 015ab649af
3 changed files with 14 additions and 3 deletions

View File

@@ -423,7 +423,7 @@ void EMSESP::reset_mqtt_ha() {
}
for (const auto & emsdevice : emsdevices) {
emsdevice->ha_config_done(false);
emsdevice->ha_config_clear();
}
dallassensor_.reload();
}