From d18e66e3f4623ad6165f77423577201708cd8a62 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Fri, 13 Dec 2013 09:05:13 +0000 Subject: [PATCH] fixed humidity git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4372 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/36_LaCrosse.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/36_LaCrosse.pm b/FHEM/36_LaCrosse.pm index 8610224cc..b187cd68a 100644 --- a/FHEM/36_LaCrosse.pm +++ b/FHEM/36_LaCrosse.pm @@ -200,7 +200,7 @@ LaCrosse_Parse($$) } $temperature = int($temperature*10 + 0.5) / 10; - $humidity = int($humidity + 0.5) / 10; + $humidity = int($humidity*10 + 0.5) / 10; readingsBulkUpdate($rhash, "temperature$channel", $temperature); readingsBulkUpdate($rhash, "humidity$channel", $humidity) if( $humidity && $humidity <= 99 );