I’m trying to get an automation to trigger based on an event being populated from the iOS actionable notification component. The notifications are setup and working correctly. When I click the button in the notification I am getting an event to populate on the event bus like this:
[homeassistant.core] Bus:Handling <Event ios.notification_action_fired[R]: actionName=YES, sourceDeviceID=iphonex, sourceDevicePermanentID=9CD9654F-3EAC-44F9-98B4-64624A7724A4, sourceDeviceName=iPhoneX>
The problem is that the action that is supposed to take place from this event doesn’t fire. Here is the automation that is supposed to trigger when the event bus sees the above message:
- alias: Reset Actionable Boolean
initial_state: True
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: YES
action:
service: input_boolean.turn_off
entity_id: input_boolean.actionable_test
The only thing the looks odd to me is that the event has an [R] after the
ios.notification_action_fired[R]
Any ideas what’s wrong here?