Send price config to cloud

This commit is contained in:
Gunnar Skjold
2024-08-24 09:40:58 +02:00
parent d0dd9de4d7
commit d2c96c733c
4 changed files with 55 additions and 4 deletions

View File

@@ -693,7 +693,7 @@ void loop() {
}
NtpConfig ntp;
config.getNtpConfig(ntp);
if(cloud->setup(cc, meterConfig, sysConfig, ntp, &hw, &rdc)) {
if(cloud->setup(cc, meterConfig, sysConfig, ntp, &hw, &rdc, ps)) {
config.setCloudConfig(cc);
}
cloud->setConnectionHandler(ch);