From ff8f98eda517097672c20b2746b2e74ac5adc232 Mon Sep 17 00:00:00 2001 From: borisneubert Date: Sun, 25 Nov 2012 11:10:19 +0000 Subject: [PATCH] quickfix git-svn-id: https://svn.fhem.de/fhem/trunk@2190 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index d01f49f7b..5e420b1a4 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -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.