code style

This commit is contained in:
Marko Oldenburg 2019-09-20 20:36:47 +02:00
parent 8035f9a5c6
commit 410ae9ed90

View File

@ -2409,7 +2409,9 @@ sub ShuttersCommandSet($$$) {
my $name = $hash->{NAME}; my $name = $hash->{NAME};
$shutters->setShuttersDev($shuttersDev); $shutters->setShuttersDev($shuttersDev);
if (($posValue == $shutters->getShadingPos if (
(
$posValue == $shutters->getShadingPos
and ( and (
CheckIfShuttersWindowRecOpen($shuttersDev) == 2 CheckIfShuttersWindowRecOpen($shuttersDev) == 2
and $shutters->getShuttersPlace eq 'terrace' and $shutters->getShuttersPlace eq 'terrace'
@ -2418,7 +2420,8 @@ sub ShuttersCommandSet($$$) {
and not $shutters->getQueryShuttersPos($posValue) and not $shutters->getQueryShuttersPos($posValue)
) )
) )
or ($posValue != $shutters->getShadingPos or (
$posValue != $shutters->getShadingPos
and ( and (
( (
$shutters->getPartyMode eq 'on' $shutters->getPartyMode eq 'on'