First, make sure you set Installation mode as 'Door'
Choose your desire mode as shown in the picture below
① Leave the house
11:00 - Pressing the button on the Contact Sensor, motion detected
When the door is opened before 11:02 -- recognized as leaving
② Entering the house
11:00 - No button pressed & no motion detected
Automatically recognized as entering