mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
fix for non-nested thermostat #738
This commit is contained in:
@@ -452,7 +452,7 @@ void EMSESP::publish_device_values(uint8_t device_type) {
|
||||
if (nested) {
|
||||
need_publish |= emsdevice->generate_values_json(json, DeviceValueTAG::TAG_NONE, true); // nested
|
||||
} else {
|
||||
emsdevice->generate_values_json(json, DeviceValueTAG::TAG_NONE, false); // not nested
|
||||
emsdevice->generate_values_json(json, DeviceValueTAG::TAG_THERMOSTAT_DATA, false); // not nested
|
||||
Mqtt::publish("thermostat_data", json);
|
||||
json.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user