What Trigger for device-tracker state change / person away

Hi all,

almost everything works already great but I am missing a small piece.

What I did:

  • Sucessfully configured an integration for my router for presence detection.
  • Phone works perfectly as device tracker and I also connected it to a person (see screenshot).

I checked these docs:

I create all automations via the super nice new GUI.
My Problem, I cannot figure out what kind of trigger I need to use in order to start the automation when the person changes to away.

Is there an event I can use? It seems not. So it looks like an entity state change.
The docs say

The state of your tracked device will be 'home' if it is in the home zone, detected by your network or Bluetooth based presence detection.

But in the I do not see any attribute with the value home or away. Or do I use the person entity? But then again I do not have a proper attribute.

It is probably super simple, but I just cannot find it anywhere :frowning:
Can it be done via the GUI?

Device Tracker works great:

And here is the problem now, no idea what to choose, an entity state change? If yes which attribute?

Big thank you in advance
(HA is version 2022.9.7)

Use a state trigger

from: home
to: not_home

You can check the states in Developer Tools ——> States

1 Like

Ahh so just state without any attribute, I see :star_struck:
Also the tip in Developer Tools super helpful, thank you so much, it works, amazing :+1: