mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
"no entries" is valid command execution
This commit is contained in:
@@ -626,7 +626,7 @@ void AnalogSensor::publish_values(const bool force) {
|
||||
bool AnalogSensor::get_value_info(JsonObject & output, const char * cmd, const int8_t id) const {
|
||||
if (sensors_.empty()) {
|
||||
output["message"] = "no entries";
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
// make a copy of the string command for parsing
|
||||
char command_s[30];
|
||||
|
||||
Reference in New Issue
Block a user