fix syntax error

This commit is contained in:
Marko Oldenburg 2019-06-23 18:35:07 +02:00
parent f3953e00b4
commit d9858108ed

View File

@ -1814,7 +1814,7 @@ sub EventProcessingTwilightDevice($@) {
. ' WindProtection: '
. $shutters->getWindProtectionStatus );
if (and $ascDev->getAutoShuttersControlShading eq 'on'
if ( $ascDev->getAutoShuttersControlShading eq 'on'
and $shutters->getRainProtectionStatus eq 'unprotected'
and $shutters->getWindProtectionStatus eq 'unprotected'
)