Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State of zone entity should be friendly name when Privacy == Zone Name Only #105533

Closed
tom-parkinson opened this issue Dec 12, 2023 · 3 comments
Closed

Comments

@tom-parkinson
Copy link

tom-parkinson commented Dec 12, 2023

The problem

If "Zone Name Only" is set under the "Location Sent" setting of the Companion app, then the entity name of the zone gets shown on the person entity cards on the dashboard. This behaviour is inconsistent with the "Exact" location sent setting, which shows the friendly name of the zone.

289715582-3d6acba8-3df4-4693-bee8-59d41e100682

In this example, kids have the “Location Sent” to “Exact” under Privacy in the app and for adults to “Zone Name Only”.
The dashboard with simple person entities shows correctly “Home” and “Away” for all. However, once in a pre-configured zone:

  • kids: it displays the zone’s friendly name, e.g. “School”
  • adults: it displays the zone’s entity, like “kids_school” instead of “School”.

There's a forum discussion thread with several users about this. It was also submitted as an issue to the frontend repo but no problems reported there.

What version of Home Assistant Core has the issue?

2023.12.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

State and attributes of the privacy-enabled person as well as the zone when issue appears:
289699436-cc317b12-51b5-483b-878c-3bdab06ac203
289699448-3a63d0f2-92cd-4dd8-89af-2a0fcc1bd693
289699451-1d2a17ae-24b1-4cdf-a9f7-ef7bd39b27c7

@s0ftice
Copy link

s0ftice commented Dec 12, 2023

it seems the screenshot got lost when you copied the post from frontend. I added it here again for everyone's convenience.

289660311-9a545aa3-5606-45da-a374-baa2f82fffe1

@karwosts
Copy link
Contributor

Just to let you know as this was filed without an integration URL it does not get tagged or notify codeowners and it will be less discoverable.

I'm not sure if this should be device_tracker or mobile_app, but either of those would probably have been better than nothing. I think the only way to fix would be to close and open a new ticket (or you can just wait and see).

@tom-parkinson
Copy link
Author

Thanks @karwosts for the heads up. I've opened a new issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants