mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Update docs for home-assistant/core#123427 (#34220)
This commit is contained in:
parent
76b92da20d
commit
817d23f85b
@ -281,9 +281,9 @@ After each time a wait completes, either because the condition was met, the even
|
||||
|
||||
| Variable | Description |
|
||||
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `wait.completed` | Exists only after `wait_template`. `true` if the condition was met, `false` otherwise |
|
||||
| `wait.trigger` | Exists only after `wait_for_trigger`. Contains information about which trigger fired. (See [Available-Trigger-Data](/docs/automation/templating/#available-trigger-data).) Will be `none` if no trigger happened before timeout expired |
|
||||
| `wait.completed` | `true` if the condition was met, `false` otherwise |
|
||||
| `wait.remaining` | Timeout remaining, or `none` if a timeout was not specified |
|
||||
| `wait.trigger` | Exists only after `wait_for_trigger`. Contains information about which trigger fired. (See [Available-Trigger-Data](/docs/automation/templating/#available-trigger-data).) Will be `none` if no trigger happened before timeout expired |
|
||||
|
||||
This can be used to take different actions based on whether or not the condition was met, or to use more than one wait sequentially while implementing a single timeout overall.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user