code style
This commit is contained in:
parent
8035f9a5c6
commit
410ae9ed90
@ -2409,7 +2409,9 @@ sub ShuttersCommandSet($$$) {
|
||||
my $name = $hash->{NAME};
|
||||
$shutters->setShuttersDev($shuttersDev);
|
||||
|
||||
if (($posValue == $shutters->getShadingPos
|
||||
if (
|
||||
(
|
||||
$posValue == $shutters->getShadingPos
|
||||
and (
|
||||
CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
and $shutters->getShuttersPlace eq 'terrace'
|
||||
@ -2418,7 +2420,8 @@ sub ShuttersCommandSet($$$) {
|
||||
and not $shutters->getQueryShuttersPos($posValue)
|
||||
)
|
||||
)
|
||||
or ($posValue != $shutters->getShadingPos
|
||||
or (
|
||||
$posValue != $shutters->getShadingPos
|
||||
and (
|
||||
(
|
||||
$shutters->getPartyMode eq 'on'
|
||||
|
Loading…
Reference in New Issue
Block a user