From 17b5cf442275831fd4962d7a5b93346839d43364 Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Tue, 28 Jun 2022 09:47:01 -0500 Subject: [PATCH] Document that trigger.idx starts at 0 (#23185) Co-authored-by: Franck Nijhof --- source/_docs/automation/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index ad5b5ac5309..daf42cb408a 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -22,7 +22,7 @@ The following describes trigger data associated with all platforms. | Template variable | Data | | ---- | ---- | | `trigger.id` | Optional trigger `id`, or index of the trigger. -| `trigger.idx` | Index of the trigger. +| `trigger.idx` | Index of the trigger. (The first trigger idx is `0`.) ### Calendar