From 14a6d58747541e9914a4f0bf6c0aa6f0276fb9cb 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://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1333 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/59_Weather.pm | 2 -- docs/commandref.html | 41 +++++++++++++++++++++++++++++++---------- 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/FHEM/59_Weather.pm b/FHEM/59_Weather.pm index ff553c93f..7e265d8eb 100755 --- a/FHEM/59_Weather.pm +++ b/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/docs/commandref.html b/docs/commandref.html index 452c86cf2..f64991067 100644 --- a/docs/commandref.html +++ b/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