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

Very long Entity names with Device Name prefixes #113

Closed
4 tasks done
GuyKh opened this issue May 1, 2024 · 1 comment · Fixed by #115
Closed
4 tasks done

Very long Entity names with Device Name prefixes #113

GuyKh opened this issue May 1, 2024 · 1 comment · Fixed by #115
Labels
bug Something isn't working

Comments

@GuyKh
Copy link
Owner

GuyKh commented May 1, 2024

System Health details

N/A

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

As described here - when an entity "belongs" to a Device - it'll affect the entity name (friendly_name = f"{device.name} {entity.name}")
https://developers.home-assistant.io/docs/core/entity/#has_entity_name-true-mandatory-for-new-integrations

So now, you'll see things like: IEC Contract 12345 - Meter 23456 Last IEC bill date instead of Last IEC bill date

Reproduction steps

Add Devices.

Debug logs

N/A

Diagnostics dump

No response

@GuyKh GuyKh added the bug Something isn't working label May 1, 2024
@GuyKh
Copy link
Owner Author

GuyKh commented May 1, 2024

Relates to changes done as part of this:
#88

@GuyKh GuyKh linked a pull request May 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant