mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
fix fullname #1136
This commit is contained in:
@@ -1352,7 +1352,7 @@ bool EMSdevice::get_value_info(JsonObject & output, const char * cmd, const int8
|
||||
if (dv.has_tag()) {
|
||||
char name[50];
|
||||
snprintf(name, sizeof(name), "%s %s", tag_to_string(dv.tag), fullname.c_str());
|
||||
json["name"] = name;
|
||||
json["fullname"] = name;
|
||||
} else {
|
||||
json["fullname"] = fullname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user