drive awning to open position if (wind unprotected) at night

This commit is contained in:
Jochen Lüdering
2021-09-28 11:12:14 +02:00
parent 2b12b9ed10
commit ef5b9a982e

View File

@@ -1360,6 +1360,10 @@ sub EventProcessingWind {
$FHEM::Automation::ShuttersControl::shutters->getIsDay
? $FHEM::Automation::ShuttersControl::shutters
->getLastPos
: ( $FHEM::Automation::ShuttersControl::shutters->getShuttersPlace
eq 'awning'
? $FHEM::Automation::ShuttersControl::shutters
->getOpenPos
: (
$FHEM::Automation::ShuttersControl::shutters
->getPrivacyDownStatus == 2
@@ -1375,6 +1379,7 @@ sub EventProcessingWind {
)
)
)
)
);
$FHEM::Automation::ShuttersControl::shutters
->setWindProtectionStatus('unprotected');