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