fixed humidity

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4372 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-12-13 09:05:13 +00:00
parent a4c912c980
commit 85296b6477

View File

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