mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev
This commit is contained in:
@@ -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) {
|
||||||
data.add(dv.short_name);
|
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);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
data.add("");
|
data.add("");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user