This commit is contained in:
proddy
2024-07-11 17:02:23 +02:00
parent f3f5bbb460
commit 937e4890f7
2 changed files with 2 additions and 2 deletions

View File

@@ -643,7 +643,7 @@ void AnalogSensor::publish_values(const bool force) {
// called from emsesp.cpp for commands // called from emsesp.cpp for commands
// searches sensor by name // searches sensor by name
bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int8_t id) { bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int8_t id) {
// check of it a 'commmands' command // check of it a 'commands' command
if (Helpers::toLower(cmd) == F_(commands)) { if (Helpers::toLower(cmd) == F_(commands)) {
return Command::list(EMSdevice::DeviceType::ANALOGSENSOR, output); return Command::list(EMSdevice::DeviceType::ANALOGSENSOR, output);
} }

View File

@@ -646,7 +646,7 @@ void Command::show_devices(uuid::console::Shell & shell) {
shell.println(); shell.println();
} }
// 'show commmands' : output list of all commands to console // 'show commands' : output list of all commands to console
// calls show with verbose mode set // calls show with verbose mode set
void Command::show_all(uuid::console::Shell & shell) { void Command::show_all(uuid::console::Shell & shell) {
shell.printfln("Showing all available commands (%s*%s=authentication not required):", COLOR_BRIGHT_GREEN, COLOR_RESET); shell.printfln("Showing all available commands (%s*%s=authentication not required):", COLOR_BRIGHT_GREEN, COLOR_RESET);