fix bug then privacyDownPos and night drive with window open

This commit is contained in:
Marko Oldenburg 2020-05-12 22:28:05 +02:00
parent 1a2b8f52cd
commit 806074325f

View File

@ -1044,9 +1044,14 @@ sub EventProcessingWindowRec {
if ( if (
$match =~ m{[Cc]lose|true}xms $match =~ m{[Cc]lose|true}xms
&& IsAfterShuttersTimeBlocking($shuttersDev) && IsAfterShuttersTimeBlocking($shuttersDev)
&& ( $shutters->getStatus == $shutters->getVentilatePos && (
$shutters->getStatus == $shutters->getVentilatePos
|| $shutters->getStatus == $shutters->getComfortOpenPos || $shutters->getStatus == $shutters->getComfortOpenPos
|| $shutters->getStatus == $shutters->getOpenPos ) || $shutters->getStatus == $shutters->getOpenPos
|| ( $shutters->getStatus == $shutters->getPrivacyDownPos
&& $shutters->getPrivacyDownStatus == 0
&& !$shutters->getIsDay )
)
&& ( $shutters->getVentilateOpen eq 'on' && ( $shutters->getVentilateOpen eq 'on'
|| $ascDev->getAutoShuttersControlComfort eq 'on' ) || $ascDev->getAutoShuttersControlComfort eq 'on' )
) )
@ -8410,7 +8415,7 @@ sub getBlockAscDrivesAfterManual {
], ],
"release_status": "testing", "release_status": "testing",
"license": "GPL_2", "license": "GPL_2",
"version": "v0.8.27", "version": "v0.8.28",
"author": [ "author": [
"Marko Oldenburg <leongaultier@gmail.com>" "Marko Oldenburg <leongaultier@gmail.com>"
], ],