Yes tried this and it seems to work.
There seems to be maximum 3 action, my 4:th one dont show up.
message: This is a actionable notification test message!
title: Test notification
data:
actions:
- action: trigger_1
title: T1
- action: trigger_2
title: T2
- action: trigger_3
title: T3
- action: trigger_4
title: T4
Automation to react on the triggers.
automation:
- alias: React on notification trigger 1
trigger:
- event_data:
action: trigger_1
event_type: mobile_app_notification_action
platform: event
action:
- service: persistent_notification.create
data:
message: This was Trigger 1
title: Test notification
notification_id: 1234
- alias: React on notification trigger 2
trigger:
- event_data:
action: trigger_2
event_type: mobile_app_notification_action
platform: event
action:
- service: persistent_notification.create
data:
message: This was Trigger 2
title: Test notification
notification_id: 1234
- alias: React on notification trigger 3
trigger:
- event_data:
action: trigger_3
event_type: mobile_app_notification_action
platform: event
action:
- service: persistent_notification.create
data:
message: This was Trigger 3
title: Test notification
notification_id: 1234
