mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
- $hash->{WEATHER_HORIZON} must be initialized, some hardware is that fast, that cumputing sunpos runs into error - mine isnt!
git-svn-id: https://svn.fhem.de/fhem/trunk@3719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aa1c74d247
commit
2fae29cb9a
@ -142,6 +142,7 @@ sub Twilight_Define($$)
|
||||
return "Argument Indoor_Horizon is not a valid number";}
|
||||
}
|
||||
|
||||
$hash->{WEATHER_HORIZON} = 0;
|
||||
$hash->{INDOOR_HORIZON} = $indoor_horizon;
|
||||
$hash->{LATITUDE} = $latitude;
|
||||
$hash->{LONGITUDE} = $longitude;
|
||||
|
Loading…
x
Reference in New Issue
Block a user