This commit is contained in:
Proddy
2024-01-14 21:32:00 +01:00
parent c04371dfae
commit 4ad5c7299e

View File

@@ -931,7 +931,8 @@ void EMSdevice::generate_values_web(JsonObject output) {
// add name, prefixing the tag if it exists. This is the id used in the WebUI table and must be unique // add name, prefixing the tag if it exists. This is the id used in the WebUI table and must be unique
if (dv.has_tag()) { if (dv.has_tag()) {
obj["id"] = mask + tag_to_string(dv.tag) + " " + fullname; // TODO check TAG https://github.com/emsesp/EMS-ESP32/issues/1338
obj["id"] = mask + fullname + " " + tag_to_string(dv.tag);
} else { } else {
obj["id"] = mask + fullname; obj["id"] = mask + fullname;
} }