I was stumped this before 4.0 was available, and remain stumped. Very simple automation, but I'm unable to make it work.
I have a simple contact sensor affixed to my refrigerator door, with the proper operation confirmed. All I want is a notification to be spoken through my Google Home devices if the fridge door is left open longer than 90 seconds. If the door is opened and closed within 90 seconds, the automation should be canceled, and no message should be spoken.
I thought I was home free, but I'm still not getting what I want. I saw the "Delay" button interface in the Action configuration, which when activated madness appear a button labeled "Cancel". When I activate that "Cancel" button, no explanation is provided, but I assumed it means that if the trigger is no longer true within the delay time, the rule cancels and the action will not occur.
However, when I tested it, I opened the fridge door for 5 seconds before closing it, then was disappointed 85 seconds later when the notification was still sent for speech to my Google Home, and I was told the refrigerator door was left open.
If that doesn't make any sense, could someone simply explain to me how to make this work?