fix absent Event and ModeDown absent bug
This commit is contained in:
parent
365feecec5
commit
14312c8220
@ -982,7 +982,8 @@ sub EventProcessingRoommate($@) {
|
||||
ShuttersCommandSet( $hash, $shuttersDev, $position );
|
||||
}
|
||||
elsif ( $shutters->getModeDown eq 'absent'
|
||||
and $1 eq 'absent' )
|
||||
and $1 eq 'absent'
|
||||
and not IsDay($hash,$shuttersDev) )
|
||||
{
|
||||
$shutters->setLastDrive('roommate absent');
|
||||
ShuttersCommandSet( $hash, $shuttersDev, $shutters->getClosedPos );
|
||||
|
Loading…
x
Reference in New Issue
Block a user