module: rain - now there should not created readings "rain" in other devices anymore.

http://forum.fhem.de/index.php/topic,15575

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
baumrasen
2014-11-08 11:28:26 +00:00
parent 09b25faf7e
commit 70abefe822

View File

@@ -102,8 +102,9 @@ rain_Notify($$)
my $tm = TimeNow();
my $tsecs= time(); # number of non-leap seconds since January 1, 1970, UTC
# The next instr wont work for empty hashes, so we init it now
$dev->{READINGS}{$txt[0]}{VAL} = 0 if(!$dev->{READINGS});
##### disabled because of creating a READING rain in some definitions
### The next instr wont work for empty hashes, so we init it now
# $dev->{READINGS}{$txt[0]}{VAL} = 0 if(!$dev->{READINGS});
my $r = $dev->{READINGS};
my $devName = $dev->{NAME};