phewson
(Paul)
1
Hi !
I have an automation that opens blinds after 9am with a random ‘open time’.
It is based on ‘If my phone is not at home’, to run.
When viewing the Automation it shows the following.
The code looks like this…
condition: state
entity_id: device_tracker.paul_s25
state:
- not_home
Will this work or am I doing something wrong, please?
TIA, Paul.
tom_l
2
Looks ok to me, assuming the tracker state is not home or in a zone, Check Settings → Tools → States to see the current state of the tracker.
phewson
(Paul)
3
Thank you for replying.
Currently…
So is HA actually checking the state live whilst I am writing the Automation?
Doh… Off to London later, will have another look to see if it changes.
Just the red ‘x’ was worrying me, like it was an error.
P.
tom_l
4
Nope not an error, just means the condition is currently not passing. And yes it is checking it in real time.
phewson
(Paul)
5
Thank you, appreciate the help.