Hello, so I was able to get my automation to the point that the Vacuum start when we/I leave the house and send my phone notification with the question and answer, but sadly that’s about it, I can’t get it to actually trigger the automation when I press the notification answer. Started with HA yesterday, so I am pretty new.
alias: Testing
description: ""
trigger:
- platform: state
entity_id:
- device_tracker.sm_s918b
from: home
to: not_home
id: leaves
condition:
- condition: state
entity_id: device_tracker.sm_s918b
state: not_home
action:
- choose:
- conditions:
- condition: trigger
id:
- leaves
sequence:
- action: notify.mobile_app_sm_s918b
metadata: {}
data:
message: Wanna mop?
title: HOOVER
data:
actions:
- action: Vacuum
title: "Yes"
- conditions:
- condition: trigger
id:
- test
sequence:
- action: vacuum.start
metadata: {}
data: {}
target:
device_id: 0f0a7e63b2668d2dc0b189f6fef15500
mode: single
Please don’t judge it, I am still trying to learn.
So the question is:
How do I make my “Yes” to actually trigger my vacuum to start?
I am aware I am missing whole notification pressed trigger at the top, I just don’t know how to set it