mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Fix of last bugfix (set + eventmap)
git-svn-id: https://svn.fhem.de/fhem/trunk@1370 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2e3a4d92d9
commit
6a0368c577
@ -250,7 +250,10 @@ FS20_Set($@)
|
||||
$lh->{READINGS}{state}{TIME} = $tn;
|
||||
$lh->{READINGS}{state}{VAL} = $v;
|
||||
my $lhname = $lh->{NAME};
|
||||
DoTrigger($lhname, undef) if($name ne $lhname);
|
||||
if($name ne $lhname) {
|
||||
Log 1, "Secondary trigger: $lhname / $name";
|
||||
DoTrigger($lhname, undef)
|
||||
}
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
@ -2598,7 +2598,7 @@ ReplaceEventMap($$$)
|
||||
|
||||
if($changed) {
|
||||
my @arr = split(" ",$nstr);
|
||||
push @arr, $dname;
|
||||
unshift @arr, $dname;
|
||||
return @arr;
|
||||
} else {
|
||||
unshift @{$str}, $dname;
|
||||
|
Loading…
Reference in New Issue
Block a user