fix ShuttersCommandSet( , , );

This commit is contained in:
Marko Oldenburg 2019-08-05 11:33:21 +02:00
parent 52849d54d3
commit 77c6350b0b

View File

@ -1217,13 +1217,13 @@ sub EventProcessingRoommate($@) {
{
$posValue = $shutters->getShadingPos;
$shutters->setLastDrive('shading in');
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
}
elsif ( not $shutters->getIsDay ) {
$posValue = $shutters->getClosedPos;
$shutters->setLastDrive('roommate absent');
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
}
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
}
}
}