fix partyMode and window open condition
This commit is contained in:
parent
9e570fc894
commit
d113f02250
@ -2374,11 +2374,18 @@ sub ShuttersCommandSet($$$) {
|
||||
$shutters->setShuttersDev($shuttersDev);
|
||||
|
||||
if (
|
||||
$posValue != $shutters->getShadingPos
|
||||
or ( $posValue == $shutters->getShadingPos
|
||||
and CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
(
|
||||
$posValue == $shutters->getShadingPos
|
||||
and (
|
||||
CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
and $shutters->getShuttersPlace eq 'terrace'
|
||||
and ( $shutters->getLockOut eq 'soft'
|
||||
or $shutters->getLockOut eq 'hard' )
|
||||
and not $shutters->getQueryShuttersPos($posValue)
|
||||
)
|
||||
)
|
||||
or (
|
||||
$posValue != $shutters->getShadingPos
|
||||
and (
|
||||
(
|
||||
$shutters->getPartyMode eq 'on'
|
||||
@ -2412,6 +2419,7 @@ sub ShuttersCommandSet($$$) {
|
||||
and $shutters->getWindProtectionStatus eq 'protected' )
|
||||
)
|
||||
)
|
||||
)
|
||||
{
|
||||
$shutters->setDelayCmd($posValue);
|
||||
$ascDev->setDelayCmdReading;
|
||||
|
Loading…
Reference in New Issue
Block a user