change order in "cannot find 'device' in 'command'"

This commit is contained in:
MichaelDvP
2024-07-15 08:56:36 +02:00
parent 4c6d396d70
commit 5b143cd22a
4 changed files with 4 additions and 4 deletions

View File

@@ -711,7 +711,7 @@ bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int
}
}
return EMSESP::return_not_found(output, "analog sensor", cmd); // not found
return EMSESP::return_not_found(output, cmd, F_(analogsensor)); // not found
}
void AnalogSensor::addSensorJson(JsonObject output, const Sensor & sensor) {