json type

This commit is contained in:
MichaelDvP
2024-09-20 15:59:45 +02:00
parent c315463692
commit 483a138f9d
2 changed files with 2 additions and 2 deletions

View File

@@ -1684,7 +1684,7 @@ bool EMSdevice::generate_values(JsonObject output, const int8_t tag_filter, cons
}
// do not overwrite
if (json[name].is<const char *>()) {
if (json[name].is<JsonVariantConst>()) {
#if defined(EMSESP_DEBUG)
EMSESP::logger().debug("warning: double json key: %s", name);
#endif