Add info on trigger id's uniqueness requirement (#19336)

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
Igor Loborec 2021-09-15 07:44:47 +01:00 committed by GitHub
parent 61da3139e6
commit 98a1a43cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,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.
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. The `id` should be unique for each trigger.
```yaml
automation: