diff --git a/wled00/json.cpp b/wled00/json.cpp index af8ed89ef6..5f699d3a79 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -188,11 +188,11 @@ bool deserializeSegment(JsonObject elem, byte it, byte presetId) // lx parser #ifdef WLED_ENABLE_LOXONE int lx = elem[F("lx")] | -1; - if (lx > 0) { + if (lx >= 0) { parseLxJson(lx, id, false); } int ly = elem[F("ly")] | -1; - if (ly > 0) { + if (ly >= 0) { parseLxJson(ly, id, true); } #endif