Merge branch 'dev' of https://github.com/MichaelDvP/EMS-ESP32 into idf4_no_master

This commit is contained in:
MichaelDvP
2022-05-06 17:54:34 +02:00
6 changed files with 248 additions and 246 deletions

View File

@@ -925,10 +925,8 @@ bool EMSdevice::get_value_info(JsonObject & output, const char * cmd, const int8
// check specific attribute to fetch instead of the complete record
char * breakp = strchr(command_s, '/');
if (breakp) {
*breakp = '\0';
if (strlen(breakp + 1)) {
attribute_s = breakp + 1;
}
*breakp = '\0';
attribute_s = breakp + 1;
}
// search device value with this tag