Hi Folks
I am new to HA. I can see in my log that my tracker.gm1900 has arrived home but it does not trigger the automation to run the scene scene.i_m_back. Here is my script. Any tips would be greatly appreciated.
- id: ‘15949494949’
alias: Arm Security Away Mode Enable
description: ‘’
trigger:- entity_id: person.gina
platform: state
to: not_home
condition: - condition: or
conditions:- condition: state
entity_id: device_tracker.gm1900
state: not_home
action:
- condition: state
- scene: scene.goodbye
- data:
message: Security Armed
service: notify.notify
mode: single
- entity_id: person.gina
- id: ‘15939393939’
alias: Disarmed Mode I am Back
description: Disarmed Mode
trigger:- entity_id: person.gina
platform: state
to: home
condition: - condition: or
conditions:- condition: state
entity_id: device_tracker.gm1900
state: home
action:
- condition: state
- scene: scene.i_m_back
- data:
message: Security Disarmed
service: notify.mobile_app_gm1900
mode: single
- entity_id: person.gina