-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Allow customizing display name for energy device #20033
Conversation
Backend: home-assistant/core#112834 (approved) |
Can't we only use the device name instead of adding a new name option? |
I'm not confident that would work for every use case, given that the entity to device mapping is not user modifiable. For example someone could have a single smart electric panel device that has 20 entities for various consumptions. |
Pro4pm shows 4 different consumptions and is one device in HA and it is very popular device in EU another popular with 16 different consumptions for one device is emporia Or maybe I misunderstood - mapping consumption measured by one device entity to another HA device would be nice option (if measured device exist in HA), but seems to be to be more system wide thing if that is to be implemented. |
Is their a reason this feature was only implemented for device level energy monitors? I was hoping to use it for energy "Sources" monitors. Seems a little odd to have it for one and not the other. |
Proposed change
Allow for storing a custom display name with individual device consumptions for energy dashboard. This allows users for a cleaner and less cluttered dashboard, as entity names for energy devices often have terms like "Energy", "Consumption", "Daily", "Weekly", "Total", etc which are not relevant for the energy dashboard, but may still be wanted as part of the entity name when looking at it out of the context of energy dashboard.
Also space is at a premium for smaller/mobile devices, and the visual display can be improved with shorter names to minimize space consumption of the legend.
Type of change
Example configuration
Additional information
This PR fixes or closes issue: fixes #
This PR is related to issue or discussion:
https://community.home-assistant.io/t/energy-custom-names-for-individual-devices/372943
https://community.home-assistant.io/t/wth-can-t-i-change-name-on-energy-dashboard-monitor-individual-devices/472496
https://community.home-assistant.io/t/to-have-the-ability-to-rename-in-energy-dashboard/503823
https://community.home-assistant.io/t/rename-energys-individual-devices/378360
https://community.home-assistant.io/t/wth-cant-i-still-not-change-source-names-for-energy-dashboard/470467
https://community.home-assistant.io/t/detail-devices-energy-card-entity-friendly-name-labels/700475
https://community.home-assistant.io/t/energy-dashboard-change-names/442989/8
Friendly Name Energy Dashboard #20024
add max_devices and name: option to Energy panel #19983
Support renaming of "sources" shown in the Energy dashboard #18215
Link to documentation pull request:
Checklist
If user exposed functionality or configuration variables are added/changed: