mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
check system/values lower case
This commit is contained in:
@@ -1302,7 +1302,7 @@ bool System::get_value_info(JsonObject root, const char * command) {
|
||||
}
|
||||
|
||||
char cmd[COMMAND_MAX_LENGTH];
|
||||
strlcpy(cmd, command, sizeof(cmd));
|
||||
strlcpy(cmd, Helpers::toLower(command).c_str(), sizeof(cmd));
|
||||
char * val = strstr(cmd, "/value");
|
||||
if (val) {
|
||||
val[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user