From 9bbac690715ac29446e2b42552d94a8eda63a10d Mon Sep 17 00:00:00 2001 From: hcs-svn <> Date: Sat, 24 Oct 2015 19:14:10 +0000 Subject: [PATCH] 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 --- fhem/FHEM/36_LaCrosse.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/fhem/FHEM/36_LaCrosse.pm b/fhem/FHEM/36_LaCrosse.pm index 3b371c76e..fd4b597fd 100644 --- a/fhem/FHEM/36_LaCrosse.pm +++ b/fhem/FHEM/36_LaCrosse.pm @@ -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;