From 0c61c21d4a1df25c5303d7603938bd6371ca24c4 Mon Sep 17 00:00:00 2001 From: partytimeexcellent Date: Thu, 21 Feb 2019 14:23:00 -0800 Subject: [PATCH] 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:" --- source/_docs/ecosystem/ios/notifications/actions.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_docs/ecosystem/ios/notifications/actions.markdown b/source/_docs/ecosystem/ios/notifications/actions.markdown index 9f1493b3d72..532d68434e4 100644 --- a/source/_docs/ecosystem/ios/notifications/actions.markdown +++ b/source/_docs/ecosystem/ios/notifications/actions.markdown @@ -132,7 +132,8 @@ automation: platform: event event_type: ios.notification_action_fired event_data: - actionName: SOUND_ALARM + data: + actionName: SOUND_ALARM action: ... ```