ich würde gerne beim erreichen einer bestimmten Position ein notify bekommen um mit einer Auswahl dann eine Action auszuführen.
Automatisierung 1)
Code: Alles auswählen
alias: Actionable_Garage auf
description: ""
trigger:
- platform: state
entity_id:
- sensor.phone_geocoded_location
to: home
for:
hours: 0
minutes: 0
seconds: 1
condition: []
action:
- service: notify.phone
data:
title: Garage öffnen?
data:
actions:
- action: KLICK_YES
title: Ja
message: Klicke
mode: single
Wird "Ja" geklickt soll die Automatisierung 2) ausgeführt werden
Code: Alles auswählen
alias: Response_Notification
description: Garage auf
trigger:
- platform: event
event_type: notify.phone
event_data:
action: KLICK_YES
condition: []
action:
- service: cover.open_cover
target:
entity_id: cover.msg_garage
data: {}
mode: single
Automatisierung 2) funktioniert im Standalone....nur das mit dem Button Klick in Automatisierung 1) funktioniert nicht.....hat jemand einen Tipp wo der Fehler liegt?