2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-14 05:46:35 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@2190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2012-11-25 11:10:19 +00:00
parent e9a0ca77bc
commit e4bc14b712

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.