Hi all,
I’m trying to trigger a script, once an automation has sent a message to my iphone. The title with the context menu opens, but the script ist not triggered. Any idea of what I’m doing wrong?
alias: Garage door open
description: ""
triggers:
- entity_id:
- binary_sensor.garage
from: "off"
to: "on"
for:
hours: 0
minutes: 31
seconds: 0
trigger: state
conditions: []
actions:
- metadata: {}
data:
title: Garage door open
message: Garage door open
data:
actions:
- service: script.turn_on
target:
entity_id: script.test
title: test
action: notify.mobile_app_iphone_xxx
mode: single