From 9f1c4fa9ee74c9145022586c20c534aa82aaa171 Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Fri, 29 May 2020 18:30:02 +0000 Subject: [PATCH] HMInfo:minor bug fix - remove warning git-svn-id: https://svn.fhem.de/fhem/trunk@22070 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_HMinfo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_HMinfo.pm b/fhem/FHEM/98_HMinfo.pm index a27132dc9..de5c6b628 100644 --- a/fhem/FHEM/98_HMinfo.pm +++ b/fhem/FHEM/98_HMinfo.pm @@ -2686,7 +2686,7 @@ sub HMinfo_templateSet(@){##################################################### my ($min,$max) = ($1,$2) if ($ret =~ m/range:(.*) to (.*) :/); $max = 0 if (!$max); $max =~ s/([0-9\.]+).*/$1/; - return "$regV out of range: $min to $max" if ($min && ($regV < $min || ($max && $regV > $max))); + return "$regV out of range: $min to $max" if ($regV !~ m /^set_/ && $min && ($regV < $min || ($max && $regV > $max))); } push @regCh,"$regN,$regV"; }