Fixing notification for non-readingsUpdate modules (IT)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2631 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user