From 85296b6477066321934b031ac65bd9dcb5df8067 Mon Sep 17 00:00:00 2001 From: justme1968 Date: Fri, 13 Dec 2013 09:05:13 +0000 Subject: [PATCH] fixed humidity git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4372 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/36_LaCrosse.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/36_LaCrosse.pm b/fhem/FHEM/36_LaCrosse.pm index 8610224cc..b187cd68a 100644 --- a/fhem/FHEM/36_LaCrosse.pm +++ b/fhem/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 );