Fixed cloud bugs

This commit is contained in:
Gunnar Skjold
2024-01-06 10:05:44 +01:00
parent 6012c19fc4
commit bad107926c
5 changed files with 6 additions and 10 deletions

View File

@@ -39,6 +39,7 @@
#include "html/conf_ui_json.h"
#include "html/conf_cloud_json.h"
#include "html/firmware_html.h"
#include <ESPRandom.h>
#if defined(ESP32)
#include <esp_task_wdt.h>
@@ -1094,7 +1095,6 @@ void AmsWebServer::configurationJson() {
server.sendContent(buf);
snprintf_P(buf, BufferSize, CONF_CLOUD_JSON,
cloud.enabled ? "true" : "false",
cloud.clientId,
#if defined(ESP32) && defined(ENERGY_SPEEDOMETER_PASS)
sysConfig.energyspeedometer == 7 ? "true" : "false"
#else