2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

73_AutoShuttersControl: Fix shutters drive then window open and shutter in brightness rage.

git-svn-id: https://svn.fhem.de/fhem/trunk@18234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-01-13 09:44:55 +00:00
parent ff529857fd
commit 894818a40b
2 changed files with 9 additions and 1 deletions

View File

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

View File

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