ESPhome entity naming not using friendly_name
The problem
From the documentation https://www.home-assistant.io/integrations/esphome/
Friendly naming
Entity name is a combination of the friendly name and component name
Entity ID is derived from the entity name with the device name prepended
However I have a ratgdo with the following
substitutions:
name: ratgdov25i-<hash>
#name: garage-door-opener
friendly_name: Garage Door Opener
#friendly_name: ratgdov2.5i <hash>
packages:
ratgdo.esphome: github://ratgdo/esphome-ratgdo/v25iboard.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
If I set friendly_name: Garage Door Opener the entity ID naming ends up being
cover.ratgdov25i_<hash>_door
This doesn't match what the documentation says it's supposed to do with friendly_name unless I'm misreading the documentation? Is this correct?
What version of Home Assistant Core has the issue?
2024.1.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
ESPHome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/esphome/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @ottowinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of esphome can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign esphomeRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
esphome documentation esphome source (message by IssueLinks)
Seems to be a duplicate of #99937
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.