mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-14 05:46:35 +00:00
quickfix
git-svn-id: https://svn.fhem.de/fhem/trunk@2190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e9a0ca77bc
commit
e4bc14b712
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user