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'
)
{
if (
(
not $shutters->getIsDay
or $shutters->getDown eq 'roommate'
)
if ( not $shutters->getIsDay
and IsAfterShuttersTimeBlocking($shuttersDev)
and ( $getModeDown eq 'home'
or $getModeDown eq 'always' )