59_Twilight: found a way to set automaticly verbose 4 in definition phase.

git-svn-id: https://svn.fhem.de/fhem/trunk@7402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63
2015-01-01 22:38:18 +00:00
parent 72923c3ac3
commit 85a0a85f03

View File

@@ -146,6 +146,8 @@ sub Twilight_Define($$)
$hash->{WEATHER} = $weather;
$hash->{SUNPOS_OFFSET} = 5*60;
$attr{$name}{verbose} = 4 if ($name =~ /^tst.*$/ );
my $mHash = { HASH=>$hash };
Twilight_sunpos($mHash);
Twilight_Midnight($mHash);