Hi there, I just setup an automation, just to open a cover when a certain person is not home.
Even though the person is not home, the badge shows the person not in home, the state is not home, in fact I have some zones and he is shown at one of them, the condition results in false.
now I have setup the condition as mobile_of_the person not home, and works fine, but I think the proper way is using the person_not_home condition
not_home specifically means you are not in any known zone. Like you just found out, if that person is in another zone, their state will be the other zone name (Instituto) instead of not_home.
I know it’s a bit confusing because you’d assume not_home actually means “this person is not at home”, but the frontend translation (Away) makes it a bit clearer.
Change your condition section in your automation to the below & it should work:
conditions:
- condition: not
conditions:
- condition: state
entity_id: device_tracker.marcosiphone
state:
- home
well, indeed seems a bit confusing, but now is clear for me, thanks a lot.
Your solution, I will mark as one, is what I used as workaround to make it work, as I said before.