mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Fixing notification for non-readingsUpdate modules (IT)
git-svn-id: https://svn.fhem.de/fhem/trunk@2631 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1d5987b86f
commit
b7ca41d5b5
@ -1143,8 +1143,10 @@ DoSet(@)
|
|||||||
return undef if($skipTrigger);
|
return undef if($skipTrigger);
|
||||||
shift @a;
|
shift @a;
|
||||||
|
|
||||||
if(!$doTriggerCalled) { # Backward compatibility. Use readingsUpdate in SetFn now
|
# Backward compatibility. Use readingsUpdate in SetFn now
|
||||||
DoTrigger($dev, join(" ", @a), 1);
|
if(!$doTriggerCalled) {
|
||||||
|
my $arg = join(" ", @a) if(!$hash->{CHANGED} || !int(@{$hash->{CHANGED}}));
|
||||||
|
DoTrigger($dev, $arg, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user