fix shading drive out of closed Pos

This commit is contained in:
Marko Oldenburg 2020-06-04 07:21:56 +02:00
parent 82a9d2c930
commit c1695ae811

View File

@ -2478,10 +2478,15 @@ sub ShadingProcessing {
|| $shutters->getModeUp eq 'off' || $shutters->getModeUp eq 'off'
) )
&& ( && (
( int( gettimeofday() ) - $shutters->getShadingStatusTimestamp ) < 2 (
(
int( gettimeofday() ) -
$shutters->getShadingStatusTimestamp
) < 2
&& $shutters->getStatus != $shutters->getClosedPos
)
|| ( !$shutters->getQueryShuttersPos( $shutters->getShadingPos ) || ( !$shutters->getQueryShuttersPos( $shutters->getShadingPos )
&& $shutters->getIfInShading && $shutters->getIfInShading )
&& $shutters->getStatus != $shutters->getShadingPos )
|| ( !$shutters->getIfInShading || ( !$shutters->getIfInShading
&& $shutters->getStatus == $shutters->getShadingPos ) && $shutters->getStatus == $shutters->getShadingPos )
) )
@ -8454,7 +8459,7 @@ sub getBlockAscDrivesAfterManual {
], ],
"release_status": "testing", "release_status": "testing",
"license": "GPL_2", "license": "GPL_2",
"version": "v0.8.31", "version": "v0.8.32",
"author": [ "author": [
"Marko Oldenburg <leongaultier@gmail.com>" "Marko Oldenburg <leongaultier@gmail.com>"
], ],