Clear HA conf by default

This commit is contained in:
Gunnar Skjold 2023-04-13 10:20:15 +02:00
parent 8ee8eee6c4
commit df44b05792

View File

@ -710,6 +710,10 @@ void AmsConfiguration::clear() {
clearDomo(domo);
EEPROM.put(CONFIG_DOMOTICZ_START, domo);
HomeAssistantConfig haconf;
clearHomeAssistantConfig(haconf);
EEPROM.put(CONFIG_HA_START, haconf);
NtpConfig ntp;
clearNtp(ntp);
EEPROM.put(CONFIG_NTP_START, ntp);