diff --git a/fhem/CHANGED b/fhem/CHANGED index 368c74680..c26307916 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 73_AutoShuttersControl: fix typo in Event RegEx for Twilight Event - bugfix: 73_AutoShuttersControl: fix little winrec bug then state opened (max winrec sensors) - feature: DarkSkyAPI: add demo support for FHEM demo konfiguration diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 5521f5462..12c0dd095 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -41,7 +41,7 @@ package main; use strict; use warnings; -my $version = '0.4.0.8'; +my $version = '0.4.0.9'; sub AutoShuttersControl_Initialize($) { my ($hash) = @_; @@ -1303,14 +1303,14 @@ sub EventProcessingTwilightDevice($@) { # # Astro # SunAz = azimuth = Sonnenwinkel - # SunAlt = evaluation = Sonnenhöhe + # SunAlt = elevation = Sonnenhöhe - if ( $events =~ m#(azimuth|evaluation|SunAz|SunAlt):\s(\d+.\d+)# ) { + if ( $events =~ m#(azimuth|elevation|SunAz|SunAlt):\s(\d+.\d+)# ) { my $name = $device; my ( $azimuth, $elevation ); $azimuth = $2 if ( $1 eq 'azimuth' or $1 eq 'SunAz' ); - $elevation = $2 if ( $1 eq 'evaluation' or $1 eq 'SunAlt' ); + $elevation = $2 if ( $1 eq 'elevation' or $1 eq 'SunAlt' ); $azimuth = $ascDev->getAzimuth if ( not defined($azimuth) and not $azimuth );