From 817d23f85b8ab4cb32cee1663219f3d891578ba0 Mon Sep 17 00:00:00 2001 From: Jonas Bergler Date: Fri, 25 Oct 2024 01:37:05 -0400 Subject: [PATCH] Update docs for home-assistant/core#123427 (#34220) --- source/_docs/scripts.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index abbb96ba990..8d4b5d22223 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -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.