Clear HA config in next config version

This commit is contained in:
Gunnar Skjold
2023-04-01 08:02:12 +02:00
parent 799c2f19d9
commit 4947f0ec7f
2 changed files with 5 additions and 4 deletions

View File

@@ -154,7 +154,6 @@ struct DomoticzConfig {
}; // 10
struct HomeAssistantConfig {
uint8_t tag; // Just to find out if we have this config already. Can be removed in v2.3
char discoveryPrefix[64];
char discoveryHostname[64];
char discoveryNameTag[16];
@@ -315,7 +314,7 @@ private:
bool relocateConfig96(); // 2.1.14
bool relocateConfig100(); // 2.2-dev
bool relocateConfig101(); // 2.2.0 through 2.2.8
bool relocateConfig102(); // 2.2.9
bool relocateConfig102(); // 2.2.9 through 2.2.11
void saveToFs();
bool loadFromFs(uint8_t version);