fhem.pl: add $name to stateFormat "official" Variables (Forum #42431)
git-svn-id: https://svn.fhem.de/fhem/trunk@11338 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2553,7 +2553,7 @@ CommandAttr($$)
|
||||
delete($defs{$ioname}{".clientArray"}); # Force a recompute
|
||||
}
|
||||
if($attrName eq "stateFormat" && $init_done) {
|
||||
my $err = perlSyntaxCheck($a[2], ());
|
||||
my $err = perlSyntaxCheck($a[2], ("%name"=>""));
|
||||
return $err if($err);
|
||||
evalStateFormat($hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user