Hello,
i’m trying to figure out how I can detect i’m coming from work to home.
I cannot simply rely on a zone enter event since it will trigger everytime i’m coming home.
i’m trying to setup a “zone to zone” automation, but it doesn’t work.
I tried something like that:
- id: 'trigger_xxx'
alias: "Triger xxx"
trigger:
- platform: state
entity_id: device_tracker.thomas_phone
from: 'work'
to: 'home'
action:
...
But of course it doesn’t work since my device tracker is doing work -> not_home -> home.
So i’m wondering if I can achieve that with a “zone to zone” automation or something else ?
Thanks for your help !
Thomas