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