Add support for multiple event triggers in automation (#15611)

This commit is contained in:
Franck Nijhof 2020-11-12 12:00:56 +01:00 committed by GitHub
parent d86bed74db
commit a355abf72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,18 @@ automation:
- ANOTHER_USER_ID
```
It is also possible to listen for multiple events at once. This is useful for
event that contain no, or similar, data and contexts.
```yaml
automation:
trigger:
platform: event
event_type:
- automation_reloaded
- scene_reloaded
```
### Home Assistant trigger
Fires when Home Assistant starts up or shuts down.