mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 21:14:52 +00:00
fhem.pl: fix AttrFn calling from CommandAttr (Forum #83541)
git-svn-id: https://svn.fhem.de/fhem/trunk@16048 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ed55a46f73
commit
060bcb9298
@ -2808,7 +2808,7 @@ CommandAttr($$)
|
|||||||
$attrVal = "-" if($attrName eq "logfile");
|
$attrVal = "-" if($attrName eq "logfile");
|
||||||
$attrVal = 5 if($attrName eq "verbose");
|
$attrVal = 5 if($attrName eq "verbose");
|
||||||
}
|
}
|
||||||
$ret = CallFn($sdev, "AttrFn", "set", $attrName, $attrVal);
|
$ret = CallFn($sdev, "AttrFn", "set", $a[0], $attrName, $attrVal);
|
||||||
if($ret) {
|
if($ret) {
|
||||||
push @rets, $ret;
|
push @rets, $ret;
|
||||||
next;
|
next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user