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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user