mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
fhem.pl: eventMap attribute change was not reported by save ? (Forum #70163)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13911 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6ba99e55bc
commit
b3d13bc82f
5
fhem.pl
5
fhem.pl
@ -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