mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Document that trigger.idx starts at 0 (#23185)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
066f4dc075
commit
17b5cf4422
@ -22,7 +22,7 @@ The following describes trigger data associated with all platforms.
|
|||||||
| Template variable | Data |
|
| Template variable | Data |
|
||||||
| ---- | ---- |
|
| ---- | ---- |
|
||||||
| `trigger.id` | Optional trigger `id`, or index of the trigger.
|
| `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
|
### Calendar
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user