Feature Request: Allow selection of primary config entry
It would be great if you can add a logo to a device by uploading a picture or something
For example like this:
or choose within the logos of the integrations it is related to... (when multi integrations)
or maybe just use the standard icon picker, if that's easier to implement?
I think this one would be pretty tricky to get done, since the logos for the devices are pulled from the brands repository. I am not 100% sure this would be impossible to do, but right now I don't have enough time to further analyze this. If someone could have a more detailed suggestion on how this could be implemented, I would gladly take a closer look though.
I am a little bit puzzled, cause IMHO devices don't have any logos. You can see the logo of the primary integration in the top right of the device page and in the Device Info card, you can see a list of the related integrations with their logo.
Looking at the TypeScript code of the hass frontend, I can't see any other logo on the device page (https://github.com/home-assistant/frontend/blob/dev/src/panels/config/devices/ha-config-device-page.ts#L326)
So this request would also require a frontend extension? If this kind of change would even be possible, cause we aren't in a dashboard here. Don't know.
What I could imagine would be to add the integration of the added entities to the config_entries of the device, so all the integrations would be shown in the Device Info card. And there for their logo would be shown.
I agree, I don't think custom logos can be done with a simple integration. Changing the primary config entry is however something we should allow.
What I could imagine would be to add the integration of the added entities to the config_entries of the device, so all the integrations would be shown in the Device Info card. And there for their logo would be shown.
This is also a good idea.