2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 14:04:15 +00:00

fhem.pl: attrRename fixes (Forum #82337)

git-svn-id: https://svn.fhem.de/fhem/trunk@15951 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-01-21 21:48:02 +00:00
parent 47c7fb0d88
commit f90649fae1

View File

@ -2825,7 +2825,8 @@ CommandAttr($$)
return $err if($err);
evalStateFormat($hash);
}
addStructChange("attr", $sdev, $param) if(!defined($oVal) || $oVal ne $val);
addStructChange("attr", $sdev, "$attrName $val")
if(!defined($oVal) || $oVal ne $val);
DoTrigger("global", "ATTR $sdev $attrName $val", 1) if($init_done);
}