fix bug then ASC_Up or ASC_Down ist set roommate and roommate goes home from absent or gone

This commit is contained in:
Marko Oldenburg 2019-09-20 14:23:38 +02:00
parent e76092fce4
commit 1a379a3153

View File

@ -1178,11 +1178,7 @@ sub EventProcessingRoommate($@) {
and $getRoommatesStatus eq 'home' and $getRoommatesStatus eq 'home'
) )
{ {
if ( if ( not $shutters->getIsDay
(
not $shutters->getIsDay
or $shutters->getDown eq 'roommate'
)
and IsAfterShuttersTimeBlocking($shuttersDev) and IsAfterShuttersTimeBlocking($shuttersDev)
and ( $getModeDown eq 'home' and ( $getModeDown eq 'home'
or $getModeDown eq 'always' ) or $getModeDown eq 'always' )