show attribute in log message

This commit is contained in:
proddy
2024-07-23 18:54:17 +02:00
parent 49ca42d683
commit 0d0d0aa111
4 changed files with 4 additions and 7 deletions

View File

@@ -705,7 +705,7 @@ bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int
output["api_data"] = data; // always as a string
return true;
}
return EMSESP::return_not_found(output, "attribute", sensor_name); // not found
return EMSESP::return_not_found(output, attribute_s, sensor_name); // not found
}
return true; // found a match, exit
}