diff --git a/src/ems-esp.cpp b/src/ems-esp.cpp index 27770374d..1f5e9a96f 100644 --- a/src/ems-esp.cpp +++ b/src/ems-esp.cpp @@ -665,6 +665,7 @@ void publishValues(bool force) { last_boilerActive = ((EMS_Boiler.tapwaterActive << 1) + EMS_Boiler.heatingActive); // remember last state } + doc.clear(); // handle the thermostat values if (ems_getThermostatEnabled()) { for (uint8_t hc_v = 1; hc_v <= EMS_THERMOSTAT_MAXHC; hc_v++) { @@ -673,7 +674,6 @@ void publishValues(bool force) { // only send if we have an active Heating Circuit with real data if (thermostat->active) { // build new json object - doc.clear(); JsonObject rootThermostat = doc.to(); // hc{1-4} diff --git a/src/version.h b/src/version.h index fed8d4cf9..6e4a789cb 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "1.9.2b6" +#define APP_VERSION "1.9.2b7"