fix value info for second thermostat

This commit is contained in:
MichaelDvP
2024-07-15 22:08:51 +02:00
parent dae1d4e3a8
commit a3ef7fcf09

View File

@@ -748,7 +748,9 @@ bool EMSESP::get_device_value_info(JsonObject root, const char * cmd, const int8
// check first for EMS devices // check first for EMS devices
for (const auto & emsdevice : emsdevices) { for (const auto & emsdevice : emsdevices) {
if (emsdevice->device_type() == devicetype) { if (emsdevice->device_type() == devicetype) {
return emsdevice->get_value_info(root, cmd, id); if (emsdevice->get_value_info(root, cmd, id)) {
return true;
}
} }
} }