From 81fac751c0043a63d4072c5829c829fbccfdf029 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 6 Jan 2016 16:53:06 +0000 Subject: [PATCH] fhem.pl: event-on-change-reading with filter: keep suffix (Forum #46590) git-svn-id: https://svn.fhem.de/fhem/trunk@10386 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 5862d7b0f..902e270bf 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -4064,9 +4064,8 @@ readingsBulkUpdate($$$@) } else { $hash->{".attreocr-threshold$reading"} = $value; } - } else { - $value = $ov; } + $value = $ov; } # determine if an event should be created: @@ -4129,7 +4128,7 @@ readingsBulkUpdate($$$@) # If no event-aggregator attribute, then remove stale series if any. delete $readings->{".ts"}; } - } + } setReadingsVal($hash, $reading, $value, $hash->{".updateTimestamp"});