From 00d9e1eed4a4ff6c398acc00ae3442e5728d388a Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 18 Sep 2020 19:00:46 +0000 Subject: [PATCH] 99_SUNRISE_EL.pm: bugfix of the bugfix (Forum #114271) git-svn-id: https://svn.fhem.de/fhem/trunk@22789 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/99_SUNRISE_EL.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/99_SUNRISE_EL.pm b/fhem/FHEM/99_SUNRISE_EL.pm index 5f1f4d7c2..a6fcc6a6a 100644 --- a/fhem/FHEM/99_SUNRISE_EL.pm +++ b/fhem/FHEM/99_SUNRISE_EL.pm @@ -76,8 +76,8 @@ sr_alt($$$$$$$$$;$$) } elsif($altit =~ /HORIZON=([\-\+]*[0-9\.]+)/i) { $altit=$1; } else { - $altit=-6; #default - unshift @_, $altit # make altit optional. + unshift @_, $altit; # make altit optional. + $altit=-6; # default } my $seconds = shift;