fix roommate bug then Mode_Up always

This commit is contained in:
Marko Oldenburg 2018-11-01 10:03:29 +01:00
parent 891d400477
commit 056391c422

View File

@ -38,7 +38,7 @@ package main;
use strict; use strict;
use warnings; use warnings;
my $version = "0.1.86"; my $version = "0.1.87";
sub AutoShuttersControl_Initialize($) { sub AutoShuttersControl_Initialize($) {
my ($hash) = @_; my ($hash) = @_;
@ -841,7 +841,6 @@ sub RoommateEventProcessing($@) {
$shutters->getRoommatesLastStatus eq 'asleep' $shutters->getRoommatesLastStatus eq 'asleep'
or $shutters->getRoommatesLastStatus eq 'awoken' or $shutters->getRoommatesLastStatus eq 'awoken'
) )
and $shutters->getModeUp eq 'home'
and IsDay( $hash, $shuttersDev ) and IsDay( $hash, $shuttersDev )
) )
{ {