mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
info shows shortnames, only valid hcs
This commit is contained in:
@@ -672,6 +672,8 @@ bool EMSdevice::get_value_info(JsonObject & root, const char * cmd, const int8_t
|
||||
tag = DeviceValueTAG::TAG_HC1 + id - 1;
|
||||
} else if (id >= 8 && id <= 11) {
|
||||
tag = DeviceValueTAG::TAG_WWC1 + id - 8;
|
||||
} else if (id != -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// search device value with this tag
|
||||
|
||||
Reference in New Issue
Block a user