- wait_template: "{{ not is_state(trigger.entity_id, 'home') }}"
So after one of your trackers changes state the action waits 15 seconds for it to change again, to home this time. Then if it does not change the actions continues anyway.
Since iOS 15 the apps "Geofency and “Locative” point sometimes the phone outside the “Home” zone.
Within 10 seconds its going back inside.
To prevent automations will start that we are not at home i do this as workaround.
We had 3 times already that we are not at home then we are back home and the evening scene started in middle of night.
We are in bed, motion detected and the lights went on… not funny whaha…
Solved it. Created 2 automations. 1 for leave and 1 for arrive.
The leave will wait for 15 seconds the arrive will trigger directly. Now its working great.
I knew your option, but i was stuck on the wait_template and didn’t think bigger