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