expane rain and wind protection control

add condition for wind and rain protection

[Ticket: none]
This commit is contained in:
2022-06-20 15:56:47 +02:00
parent 527d72dd57
commit f67d56e1cc
5 changed files with 16 additions and 12 deletions

View File

@ -1445,11 +1445,11 @@ sub EventProcessingWind {
);
}
$FHEM::Automation::ShuttersControl::shutters->setDriveCmd(
$targetPos);
$FHEM::Automation::ShuttersControl::shutters
->setWindProtectionStatus('unprotected');
$FHEM::Automation::ShuttersControl::shutters->setDriveCmd(
$targetPos);
}
FHEM::Automation::ShuttersControl::ASC_Debug(

View File

@ -194,12 +194,12 @@ sub _RainUnprotected {
);
}
$FHEM::Automation::ShuttersControl::shutters->setDriveCmd($targetPos)
if ( IsAfterShuttersTimeBlocking($shuttersDev) );
$FHEM::Automation::ShuttersControl::shutters->setRainProtectionStatus(
'unprotected');
$FHEM::Automation::ShuttersControl::shutters->setDriveCmd($targetPos)
if ( IsAfterShuttersTimeBlocking($shuttersDev) );
return;
}