mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 22:56:34 +00:00
fhem.pl: eventMap attribute change was not reported by save ? (Forum #70163)
git-svn-id: https://svn.fhem.de/fhem/trunk@13911 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9d9cb0481f
commit
07afb9a5b8
@ -2704,6 +2704,9 @@ CommandAttr($$)
|
||||
$hash->{'.userReadings'}= \@userReadings;
|
||||
}
|
||||
|
||||
$a[0] = $sdev;
|
||||
my $oVal = ($attr{$sdev} ? $attr{$sdev}{$attrName} : "");
|
||||
|
||||
if($attrName eq "eventMap") {
|
||||
delete $hash->{".eventMapHash"};
|
||||
delete $hash->{".eventMapCmd"};
|
||||
@ -2721,8 +2724,6 @@ CommandAttr($$)
|
||||
return "Bad regexp: $@" if($@);
|
||||
}
|
||||
|
||||
$a[0] = $sdev;
|
||||
my $oVal = ($attr{$sdev} ? $attr{$sdev}{$attrName} : "");
|
||||
$ret = CallFn($sdev, "AttrFn", "set", @a);
|
||||
if($ret) {
|
||||
push @rets, $ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user