Some changes for cloud service

This commit is contained in:
Gunnar Skjold
2024-04-20 09:13:41 +02:00
parent 68c680debf
commit 95c495b773
10 changed files with 97 additions and 31 deletions

View File

@@ -687,6 +687,11 @@ void loop() {
EnergyAccountingConfig *eac = ea.getConfig();
cloud->setEnergyAccountingConfig(*eac);
ws.setCloud(cloud);
} else if(cloud != NULL) {
delete cloud;
cloud = NULL;
}
config.ackCloudConfig();
}