mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 01:09:51 +03:00
change order in "cannot find 'device' in 'command'"
This commit is contained in:
@@ -408,7 +408,7 @@ bool TemperatureSensor::get_value_info(JsonObject output, const char * cmd, cons
|
||||
}
|
||||
}
|
||||
|
||||
return EMSESP::return_not_found(output, "temperature sensor", cmd); // not found
|
||||
return EMSESP::return_not_found(output, cmd, F_(temperaturesensor)); // not found
|
||||
}
|
||||
|
||||
void TemperatureSensor::addSensorJson(JsonObject output, const Sensor & sensor) {
|
||||
|
||||
Reference in New Issue
Block a user