mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-05 08:20:23 +00:00
Double notify fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@1313 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3e2ae6c7f9
commit
6b63299010
@ -249,6 +249,8 @@ FS20_Set($@)
|
||||
$lh->{STATE} = $v;
|
||||
$lh->{READINGS}{state}{TIME} = $tn;
|
||||
$lh->{READINGS}{state}{VAL} = $v;
|
||||
my $lhname = $lh->{NAME};
|
||||
DoTrigger($lhname, undef) if($name ne $lhname);
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
@ -1139,7 +1139,8 @@ DoSet(@)
|
||||
return $ret if($ret);
|
||||
|
||||
shift @a;
|
||||
return DoTrigger($dev, join(" ", @a));
|
||||
my $arg = $defs{$dev}{CHANGED} ? undef : join(" ", @a);
|
||||
return DoTrigger($dev, $arg);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user