mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-05 02:19:31 +00:00
36_LaCrosse.pm: update battery state only if the received temperature is valid
git-svn-id: https://svn.fhem.de/fhem/trunk@9630 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fe2b3446a7
commit
9bbac69071
@ -465,7 +465,6 @@ sub LaCrosse_Parse($$) {
|
||||
else {
|
||||
$rhash->{"bufferedT"} = undef;
|
||||
$rhash->{"bufferedH"} = undef;
|
||||
readingsSingleUpdate($rhash, "battery$channel", $battery_low ? "low" : "ok", 1);
|
||||
}
|
||||
|
||||
$rhash->{"previousT$channel"} = int($previousT*10 + 0.5) / 10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user