2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-14 05:46:35 +00:00

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

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

git-svn-id: https://svn.fhem.de/fhem/trunk@6916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
baumrasen 2014-11-08 11:28:26 +00:00
parent 084d321bd6
commit 13b26b28fc

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};