fhem.pl: event-on-change-reading with filter: keep suffix (Forum #46590)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-01-06 16:53:06 +00:00
parent 12c7db9c60
commit eed941791a

View File

@@ -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"});