Question about LogBook, Developer Tools and Device status

Hi all,

Referring to a previous problem writing an automation (here the thread: Automation: notification entering / leaving zone) I’m having some difficult to get the correct status to insert in an automation.
The point is that looking on the Logbook I get different output instead of the Developer Tool Status and so I have no idea where to look to be sure the correct status is checked.

I.e. the position status from the developer tools of a tracker is now:

State -> not_home

But looking the “More Info” tab from the device itself is in “Away” mode. The same happens in the Logbook page.

If I write an automation and would like to check the history the diferent zones and write the right values, I cannot find then, because Away is not correct, instead it’s in not_home. Adding new Zones, how to implement them, without waiting that the device is in that zone and manually check it’s status in real time from the devel tool page?

Hope I’ve explained it well, thanks for the support!

Simon

Use the state displayed in Developer Tools / States.

Lovelace and the Logbook can change the appearance of these states.

Your custom zones will be the same as you created.

Ok that’s ok so you mean that I have to use Always devel tool. The side effect Is that in this way a cannot see amy history data

Thanks Simon

What?

I mean always refer to the dev tools when you want to know a state for triggers and conditions. Nothing is stopping you using Lovelace to display these entities.