Hi,
Any idea why this would be? I’ve declared the zone manually in configuration.yaml and I have location permissions set…
Thanks
Go to developer tools, states and filter to “person.” and then post a screenshot.
That’s why.
Your states for people aren’t home or away they are just unknown. Did you go in to the people section of the settings in Home Assistant and attach people to devices so Home Assistant if they are home or not?
Right so now post a screenshot of the Pixel 6 in the Mobile App device integration page. So we can see all the sensors it has exposed.
That is what I suspected. So first you want to go in to the settings > companion app settings on your phone and check if those sensors are still setup to be reporting.
Thanks for this. I have done this and the sensors are now reporting (geocoded location). Is that the right one? device_tracker.pixel_6
is still unknown though…
Hi, I’m running into a similar issue but not the same. The following template gives me 0
{{ states.person|selectattr('state','equalto','home')|list|length }}
While this gives me 2:
{{ states.person|selectattr('state','equalto','Home')|list|length }}
I have 2 zones for “home”, 1 is hardcoded in config.yaml called home and the other is added via the UI and is also home.
Nvm, just had to rename both and do a restart.