From 3e909a6c303e3fa10c6e67137e175cce94d16ddf Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Tue, 30 Jan 2018 20:13:26 +0000 Subject: [PATCH] fhem.pl: fix AttrFn calling from CommandAttr (Forum #83541) git-svn-id: https://svn.fhem.de/fhem/trunk@16048 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index abe2860eb..d4f554b4e 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -2808,7 +2808,7 @@ CommandAttr($$) $attrVal = "-" if($attrName eq "logfile"); $attrVal = 5 if($attrName eq "verbose"); } - $ret = CallFn($sdev, "AttrFn", "set", $attrName, $attrVal); + $ret = CallFn($sdev, "AttrFn", "set", $a[0], $attrName, $attrVal); if($ret) { push @rets, $ret; next;