6. Window Monitoring

Barbie and Ken forgot to close the window on the 2nd floor last week and left for the weekend. A storm completely destroyed the room. Let's make sure this doesn't happen again! In the following example, we want to send an email as soon as the window remains open for a certain amount of time.