wait until event #3435
-
Describe your ideaI'd like a wait feature, but it waits until a specific state is changed rather than for a period of time. Why is this exciting?this would act like an event trigger but could be placed anywhere in a script or automation to pause everything until something happened. it could also be combined with a wait in one block. more intentional than a condition because it would be triggered on a particular change rather than a state equalling something. it would allow for I determinant waiting periods Potential use caseswait until an llm has responded before acting on the response, which might be a long or a short period. wait until my motion sensor changes State, the which depends on people in the real world leaving the room, before doing a followup action. Anything else?like a trigger but intentionally to delay the next action, or to chain actions together each one being delayed until the previous one has been completed, especially if it depends on something outside of home assistant. such as an ftp server or a media server. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
|
There is already the wait for a trigger action which should solve your use case. You can also use the repeat until action with a simple delay action |
Beta Was this translation helpful? Give feedback.

There is already the wait for a trigger action which should solve your use case. You can also use the repeat until action with a simple delay action