mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 10:56:49 +00:00
Add support for multiple event triggers in automation (#15611)
This commit is contained in:
parent
d86bed74db
commit
a355abf72f
@ -32,6 +32,18 @@ automation:
|
|||||||
- ANOTHER_USER_ID
|
- 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
|
### Home Assistant trigger
|
||||||
|
|
||||||
Fires when Home Assistant starts up or shuts down.
|
Fires when Home Assistant starts up or shuts down.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user