Hi,
i’ve created test notification with one single button (on app companion) and work fine but, when i press button, event_type in automation don’t triggering and automation don’t start…
This is automation:
- alias: "iOS notification action pressed"
trigger:
- platform: event
event_type: ios.notification_action_fired
event_data:
actionName: ANTIFURTO_ON
action:
- service: light.turn_on
entity_id: light.mensola
This is debug log when i press the button:
Apr 18 22:15:15 raspberrypi hass[21550]: 2020-04-18 22:15:15 DEBUG (MainThread) [homeassistant.components.mobile_app.helpers] Successfully decrypted mobile_app payload
Apr 18 22:15:16 raspberrypi hass[21550]: 2020-04-18 22:15:16 DEBUG (MainThread) [homeassistant.components.mobile_app.webhook] Received webhook payload for type fire_event: {'event_data': {'sourceDevicePermanentID': 'E15BEF03-79D4-47D9-A455-868193405926', 'sourceDeviceName': 'iPhone X di Scialla', 'actionName': 'ANTIFURTO_ON', 'sourceDeviceID': 'iphone_x_di_scialla'}, 'event_type': 'ios.notification_action_fired'}
Where am I doing wrong?
Thanks