Feed Event into 'Wait Until' Node Instead of Entity

Hey Everybody, I am trying to figure out a way to feed an event into a ‘Wait Until’ node instead of using an entity. Basically, I have an actionable notification, and I want to use the ‘Wait Until’ node to use as a time-out, so if I do not choose an option from the actionable notification in a specified time, then do some other action. Anyone have any ideas on how to do this?

Here is an image of the automation:

The easiest solution I can see would be to use a trigger node with a time out and a reset. Have the reset set to whatever the output of the actionable notification is so that if you do act on it, it’ll reset the trigger. Otherwise, the trigger will fire after whatever time limit you need.

Like so?

Would I just place it where I currently have the ‘Wait Until’ node?

That looks right. Just swap the Action Received? with the trigger node and it should work.

The actionable notification allows for two actions, but the trigger node only allows for one message payload. How would I account for both actions?

Switch in front of the trigger with 3 options. The two you want and “otherwise” (Otherwise is frigging AWESOME, FYI).

Okay first, I want to say thanks for your help!

Second, I think I am understanding what you are saying. Here is what I have so far:


1 Like

No problem!

Yup. That should work. Question though, why two triggers? As I understood it, you wanted to have one action for turning on the pot, another to turn it off and then a timeout if you don’t choose either, right?

You might want to try it this way:

Both should work for what you want though.

That worked! Thank you so much! (also, the ‘otherwise’ option in the switch is legit!)

1 Like