mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
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:
parent
956cd8c485
commit
0b453c565a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user