patch-marvin78 #134

Merged
marko merged 3 commits from patch-marvin78 into dev 2025-01-21 16:20:08 +00:00
Showing only changes of commit d409662969 - Show all commits

View File

@ -1769,7 +1769,11 @@ sub SetCmdFn {
|| $FHEM::Automation::ShuttersControl::shutters
->getWindProtectionStatus eq 'protected'
|| $FHEM::Automation::ShuttersControl::shutters
->getRainProtectionStatus eq 'protected' );
->getRainProtectionStatus eq 'protected'
|| ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
&& $shutters->getStatus == $shutters->getOpenPos
&& $shutters->getShuttersPlace eq 'terrace'
&& $shutters->getSelfDefenseMode eq 'off') );
if ( $shutters->getStatus != $posValue ) {
$shutters->setLastPos( $shutters->getStatus );