This commit is contained in:
proddy
2021-05-16 13:49:16 +02:00

View File

@@ -658,7 +658,11 @@ bool EMSdevice::generate_values_json_web(JsonObject & json) {
// add the name of the Command function if it exists // add the name of the Command function if it exists
if (dv.has_cmd) { if (dv.has_cmd) {
if (dv.tag >= DeviceValueTAG::TAG_HC1) {
data.add(tag_to_string(dv.tag) + "/" + uuid::read_flash_string(dv.short_name));
} else {
data.add(dv.short_name); data.add(dv.short_name);
}
} else { } else {
data.add(""); data.add("");
} }