From dd79c1ce5480d5ee19ca0fa6d30413bb90839b47 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 11 Oct 2024 16:25:05 +0000 Subject: [PATCH] fhem.pl: add none to the JSON parser git-svn-id: https://svn.fhem.de/fhem/trunk@29222 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index cc497b6bc..99a13b2c3 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -5492,7 +5492,7 @@ json2nameValue($;$$$$) setVal($ret, $prefix, $name, $1); $in = $2; - } elsif($val =~ m/^(null)(.*)$/s) { + } elsif($val =~ m/^(null|none)(.*)$/is) { # 139411 setVal($ret, $prefix, $name, undef); $in = $2;