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:
hcs-svn
2015-10-24 19:14:10 +00:00
parent 19b6acc236
commit 41a65501f6

View File

@@ -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;