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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user