mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
Fix of last bugfix (set + eventmap)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1370 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
812969a8d9
commit
d7d2d7d2e9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user