git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2012-11-25 11:10:19 +00:00
parent bbf602fa3e
commit 4ae39cf138

View File

@@ -2942,7 +2942,7 @@ readingsBulkUpdate($$$) {
my $eour= $attreour && grep($_ eq $reading, split /,/,$attreour);
# determine if an event should be created
my $changed= !($attreocr || $attreour) # always create event if no attribute is set
$changed= !($attreocr || $attreour) # always create event if no attribute is set
|| $eour # or if the reading is listed in event-on-update-reading
|| ($eocr && # or if the reading is listed in event-on-change-reading...
($value ne $readings->{$reading}{VAL})); # ...and its value has changed.