2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +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:
dietmar63 2013-08-16 18:35:52 +00:00
parent aa1c74d247
commit 2fae29cb9a

View File

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