From d3cc036130865006e30f3c60a0743aa1af4e8b39 Mon Sep 17 00:00:00 2001 From: borisneubert Date: Sat, 10 Mar 2012 22:09:28 +0000 Subject: [PATCH] small fix for Weather updates of empty values and updated Weather documentation git-svn-id: https://svn.fhem.de/fhem/trunk@1333 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/59_Weather.pm | 2 -- fhem/docs/commandref.html | 41 +++++++++++++++++++++++++++++---------- 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/fhem/FHEM/59_Weather.pm b/fhem/FHEM/59_Weather.pm index ff553c93f..7e265d8eb 100755 --- a/fhem/FHEM/59_Weather.pm +++ b/fhem/FHEM/59_Weather.pm @@ -82,8 +82,6 @@ sub Weather_UpdateReading($$$$) { my ($hash,$prefix,$key,$value)= @_; - return 0 if(!defined($value) || $value eq ""); - #Log 1, "DEBUG WEATHER: $prefix $key $value"; my $unitsystem= $hash->{READINGS}{unit_system}{VAL}; diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index 452c86cf2..f64991067 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -4296,33 +4296,52 @@ A line ending with \ will be concatenated with the next one, so long lines Define
@@ -4339,7 +4358,7 @@ A line ending with \ will be concatenated with the next one, so long lines