diff --git a/CHANGED b/CHANGED index f8c2ccb6b..52b7fc55e 100644 --- a/CHANGED +++ b/CHANGED @@ -1,5 +1,7 @@ # 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 shutters drive then window open and + shutter in brightness rage. - feature: 82_LGTV_WebOS: Support for SkyOnline App - bugfix: 59_Weather: fix table bug in commandref - bugfix: 59_Weather: fix mor typo in Commandref diff --git a/FHEM/73_AutoShuttersControl.pm b/FHEM/73_AutoShuttersControl.pm index a62fa0009..c9afffe8d 100644 --- a/FHEM/73_AutoShuttersControl.pm +++ b/FHEM/73_AutoShuttersControl.pm @@ -1214,7 +1214,13 @@ sub EventProcessingBrightness($@) { ); my $posValue; - if ( CheckIfShuttersWindowRecOpen($shuttersDev) == 0 + if ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2 + and $shutters->getSubTyp eq 'threestate' + and $ascDev->getAutoShuttersControlComfort eq 'on' ) + { + $posValue = $shutters->getComfortOpenPos; + } + elsif ( CheckIfShuttersWindowRecOpen($shuttersDev) == 0 or $shutters->getVentilateOpen eq 'off' ) { $posValue = $shutters->getClosedPos;