diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 8ca91b004..1e4bdf11b 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -3318,7 +3318,12 @@ DoTrigger($$@) } my $max = int(@{$hash->{CHANGED}}); - return "" if(defined($attr{$dev}) && defined($attr{$dev}{do_not_notify})); + if(AttrVal($dev, "do_not_notify", 0)) { + delete($hash->{CHANGED}); + delete($hash->{CHANGETIME}); + delete($hash->{CHANGEDWITHSTATE}); + return ""; + } my $now = TimeNow(); ################