Merge pull request #1866 from MichaelDvP/dev

fix value info for second thermostat
This commit is contained in:
Proddy
2024-07-15 23:26:40 +02:00
committed by GitHub

View File

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