mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fixes #1338
This commit is contained in:
@@ -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
|
||||
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 {
|
||||
obj["id"] = mask + fullname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user