The events for the garage door will broken down to two different events:

  1. Functional Events - These are the three main jobs Mary has in relation to the garage door:
    1. Keep the door locked when we aren't around to use it.
    2. Close the garage door after no activity has been detected in the garage for 20 minutes.
    3. When departing the house, Mary opens the garage door, waits 5 seconds (after the door is open), closes the door, then waits for another 90 seconds (after the door is closed) and turns all the inside lights off.
  2. Operational Events - Events that are called by other events such as 'Garage Open' or 'Garage Close'.