mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
typo
This commit is contained in:
@@ -578,7 +578,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
|
||||
serializeJsonPretty(doc, shell);
|
||||
shell.println();
|
||||
return;
|
||||
} else if (has_data) {
|
||||
} else if (!has_data) {
|
||||
// show message if no data returned (e.g. for analogsensor, temperaturesensor, custom)
|
||||
shell.println("Command executed. Check log for messages.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user