mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix example automation not triggering (#8673)
I couldn't get the "ios.notification_action_fired" event to trigger an automation using this guide. Through trial and error, I found the automation yaml needs an additional line "data:" below "event_data:"
This commit is contained in:
parent
933340d1c8
commit
0c61c21d4a
@ -132,7 +132,8 @@ automation:
|
|||||||
platform: event
|
platform: event
|
||||||
event_type: ios.notification_action_fired
|
event_type: ios.notification_action_fired
|
||||||
event_data:
|
event_data:
|
||||||
actionName: SOUND_ALARM
|
data:
|
||||||
|
actionName: SOUND_ALARM
|
||||||
action:
|
action:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user