mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 04:16:48 +00:00
Add link to docs for condition trigger ID (#20169)
This commit is contained in:
parent
6c268157ec
commit
4979b7ee76
@ -26,7 +26,7 @@ An automation can be triggered by an event, with a certain entity state, at a gi
|
||||
|
||||
## Trigger ID
|
||||
|
||||
All triggers can be assigned an optional `id`. If the ID is omitted, it will instead be set to the index of the trigger. The `id` can be referenced from trigger conditions and actions. The `id` does not have to be unique for each trigger, and it can be used to group similar triggers for use later in the automation (i.e., several triggers of different types that should all turn some entity on).
|
||||
All triggers can be assigned an optional `id`. If the ID is omitted, it will instead be set to the index of the trigger. The `id` can be referenced from [trigger conditions and actions](/docs/scripts/conditions/#trigger-condition). The `id` does not have to be unique for each trigger, and it can be used to group similar triggers for use later in the automation (i.e., several triggers of different types that should all turn some entity on).
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
|
Loading…
x
Reference in New Issue
Block a user