2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +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:
rudolfkoenig 2013-02-02 13:57:30 +00:00
parent 1d5987b86f
commit b7ca41d5b5

View File

@ -1143,8 +1143,10 @@ DoSet(@)
return undef if($skipTrigger);
shift @a;
if(!$doTriggerCalled) { # Backward compatibility. Use readingsUpdate in SetFn now
DoTrigger($dev, join(" ", @a), 1);
# Backward compatibility. Use readingsUpdate in SetFn now
if(!$doTriggerCalled) {
my $arg = join(" ", @a) if(!$hash->{CHANGED} || !int(@{$hash->{CHANGED}}));
DoTrigger($dev, $arg, 1);
}
return undef;