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:
partytimeexcellent 2019-02-21 14:23:00 -08:00 committed by Fabian Affolter
parent 933340d1c8
commit 0c61c21d4a

View File

@ -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:
... ...
``` ```