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

Don't name entity #1350

Closed
wants to merge 1 commit into from
Closed

Don't name entity #1350

wants to merge 1 commit into from

Conversation

jamesonuk
Copy link

@jamesonuk jamesonuk commented May 7, 2024

Motivation:

Not sue if this is the best way to do it but it resolves #1332

Changes:

I have added _attr_name = None as per https://developers.home-assistant.io/docs/core/entity/#has_entity_name-true-mandatory-for-new-integrations and then just replace the inbuilt name property with a custom device_name property

Related issue (check one):

Checklist (check one):

  • I did not change any code (e.g. documentation changes)
  • The code change is tested and works locally.

Test-Hardware list (for code changes)

HA Version: 2024.5.1
Zigbee2MQTT Version: 1.37.0
TRV Hardware: Sonoff TRVZB

New device mappings

  • I avoided any changes to other device mappings
  • There are no changes in climate.py

Not sue if this is the best way to do it but it resolves #1332

I have added `_attr_name = None` as per https://developers.home-assistant.io/docs/core/entity/#has_entity_name-true-mandatory-for-new-integrations and then just replace the inbuilt name property with a custom device_name property
@jamesonuk jamesonuk closed this by deleting the head repository May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entity has double friendly name
1 participant