fix drive shutter then Roommate Event asleep but down mode is absent

This commit is contained in:
Marko Oldenburg 2020-11-08 07:29:14 +01:00
parent e74c9a8b28
commit 4ceb3a1ab8

View File

@ -786,6 +786,8 @@ sub EventProcessingRoommate {
}
elsif (
( $event eq 'gotosleep' || $event eq 'asleep' )
&& $FHEM::Automation::ShuttersControl::shutters->getModeDown ne
'absent'
&& ( $FHEM::Automation::ShuttersControl::ascDev
->getAutoShuttersControlEvening eq 'on'
|| $FHEM::Automation::ShuttersControl::shutters->getDown eq