Trigger only after previous event

Hi all,

I have a wave door sensor and nest thermostat.

I want the nest to be set to away after the door being open for 5 minutes and send me a notification. I’ve got this working.

When the door closes the nest should go back to its normal state and send me a notification. I’ve also got this working.

The problem is that now whenever the door closes I get a notification. I could set the condition to only send the event when the nest is away and the door closes but I would still get notifications when the nest is manually set away.

Is there a way to only trigger the door close sequence after the door open sequence has run?

Thanks!

You can use input_boolean, and turn it on only with the open sequence, and turn it off with the door close sequence, using this as a condition for your notification trigger.

Thanks! Worked a treat :slight_smile: