mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
14_CUL_WS.pm: strangeTempDiff generates stacktrace (Forum #130161)
git-svn-id: https://svn.fhem.de/fhem/trunk@26674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9115b0e68a
commit
a8324bd0bf
@ -151,7 +151,7 @@ CUL_WS_Parse($$)
|
||||
if($std) {
|
||||
my $ot = ReadingsVal($name, 'temperature', 0);
|
||||
if($ot && abs($ot-$t) > $std) {
|
||||
readingsBulkUpdate($def, 'strangeTemp', $t, 0);
|
||||
readingsSingleUpdate($def, 'strangeTemp', $t, 0);
|
||||
$t = $ot;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user