2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-03 19:49:02 +00:00

AttrTemplate.pm: more detailed checkPar message

git-svn-id: https://svn.fhem.de/fhem/trunk@22301 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-06-29 12:26:48 +00:00
parent 6cd0d61fe1
commit fb920d638f

View File

@ -228,6 +228,7 @@ AttrTemplate_Set($$@)
nex if(!$perl_code);
$perl_code =~ s/(?<!\\)DEVICE/bla/g;
$perl_code =~ s/\\DEVICE/DEVICE/g;
$cmdFromAnalyze = $perl_code;
my $ret = eval $perl_code;
push @ret,"$entry:$parname:$@" if($@);
}