Merge branch 'dev' into core3

This commit is contained in:
MichaelDvP
2026-07-12 16:40:45 +02:00
7 changed files with 21 additions and 6 deletions

View File

@@ -1958,7 +1958,9 @@ bool System::get_value_info(JsonObject output, const char * cmd) {
LOG_ERROR("empty system command");
return false;
}
if (!strcmp(cmd, "restart")) { // restart is a command, not an entity
return false;
}
// check for hardcoded "info"/"value"
if (!strcmp(cmd, F_(info)) || !strcmp(cmd, F_(values))) {
return command_info("", 0, output);