add
This commit is contained in:
parent
7aa58167f2
commit
c0e157164d
@ -2036,14 +2036,14 @@ sub ShadingProcessingDriveCommand($$) {
|
||||
if ( $shutters->getShadingStatus eq 'in'
|
||||
and $getShadingPos != $getStatus )
|
||||
{
|
||||
my $queryShuttersShadingPos = (
|
||||
$shutters->getShuttersPosCmdValueNegate
|
||||
? $getStatus > $getShadingPos
|
||||
: $getStatus < $getShadingPos
|
||||
);
|
||||
# my $queryShuttersShadingPos = (
|
||||
# $shutters->getShuttersPosCmdValueNegate
|
||||
# ? $getStatus > $getShadingPos
|
||||
# : $getStatus < $getShadingPos
|
||||
# );
|
||||
|
||||
if (
|
||||
not $queryShuttersShadingPos
|
||||
not $shutters->getQueryShuttersPos($shutters->getShadingPos);
|
||||
and not( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
and $shutters->getShuttersPlace eq 'terrace' )
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user