This commit is contained in:
proddy
2024-07-21 12:59:23 +02:00
parent 2a9ebde829
commit 62152825bd
3 changed files with 30 additions and 19 deletions

View File

@@ -1599,7 +1599,7 @@ bool EMSdevice::get_value_info(JsonObject output, const char * cmd, const int8_t
// if we're filtering on an attribute, go find it
if (attribute_s) {
#if defined(EMSESP_DEBUG)
EMSESP::logger().debug("[DEBUG] fetching single attribute '%s'", attribute_s);
EMSESP::logger().debug("[DEBUG] fetching single attribute %s", attribute_s);
#endif
if (json.containsKey(attribute_s)) {
std::string data = json[attribute_s].as<std::string>();