git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2012-11-25 11:10:19 +00:00
parent 902d038677
commit 6ba2a0dd8f

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.