Actionable IOS Notification To Enable Script

I’m trying to get an actionable notification to enable a script but can’t for the life of me figure out how to go about doing this.
I’ve managed to get the action buttons to show but clicking ‘yes’ achieves nothing. The script references a working script.
Any idea what I am doing wrong here?

Thank you.

alias: Radiator Actionable Notification
sequence:
  - service: notify.mobile_app_rory
    data:
      message: Radiator On?
      data:
        actions:
          - action: SCRIPT.LOLA_BEDROOM
            title: 'Yes'
          - action: null
            title: 'No'
  - wait_for_trigger:
      - platform: event
        event_type: mobile,app_notification_action
        event_data:
          action: SCRIPT.LOLA_BEDROOM
    timeout: '00:00:00'
    continue_on_timeout: false
  - service: script.lola_bedroom
  - service: notify.mobile_app_rory
    data:
      message: Radiator Is On
mode: single

First issue I see is the timeout of zero, causing the automation to stop before you would ever have a chance to respond.

Try setting this to an actual value like 30sec’s and try again.

Thanks Rossk but appears changing the timeout still doesn’t work.
unfortunately I wasn’t able to find any tutorials online for actioning a script from a notification so it’s a bit of a miss-match of things I found online.

Solved following this guy and changing some of the actions.

Glad you got it sorted :+1: