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,18 +1360,23 @@ sub EventProcessingWind {
$FHEM::Automation::ShuttersControl::shutters->getIsDay
? $FHEM::Automation::ShuttersControl::shutters
->getLastPos
: (
$FHEM::Automation::ShuttersControl::shutters
->getPrivacyDownStatus == 2
: ( $FHEM::Automation::ShuttersControl::shutters->getShuttersPlace
eq 'awning'
? $FHEM::Automation::ShuttersControl::shutters
->getPrivacyDownPos
->getOpenPos
: (
$FHEM::Automation::ShuttersControl::shutters
->getSleepPos > 0
->getPrivacyDownStatus == 2
? $FHEM::Automation::ShuttersControl::shutters
->getSleepPos
: $FHEM::Automation::ShuttersControl::shutters
->getClosedPos
->getPrivacyDownPos
: (
$FHEM::Automation::ShuttersControl::shutters
->getSleepPos > 0
? $FHEM::Automation::ShuttersControl::shutters
->getSleepPos
: $FHEM::Automation::ShuttersControl::shutters
->getClosedPos
)
)
)
)