LG-WebOS-Remote-Control icon indicating copy to clipboard operation
LG-WebOS-Remote-Control copied to clipboard

Allow 'image' for Sources, or allow custom url for icon property

Open jeremysherriff opened this issue 3 years ago • 1 comments

Currently, the Sources list takes only an 'icon' property to go with the name. The icon can only be a recognised icon source (eg hass:, mdi:, etc).

It would be great if we could reference a url (eg '/local/path/tvfiles/netflix_alt.png') in the same way that channels have the 'image' property. This could either be done using the 'icon' property and some logic to handle the different content type, or by implementing an additional 'image' property for the sources list items.

There would need to be Readme guidance as to best icon sizing (64x64?).

This would be one way to resolve #62 and would provide a way for users to reference any logo, as well as implement alternate colour schemes by editing the original logos saved from web sites.

jeremysherriff avatar Sep 21 '21 02:09 jeremysherriff

I have installed simpleicons and that have solved that issue for me. https://github.com/vigonotion/hass-simpleicons

You might have to clear browser cache to get this to work, but check first that you can set an icon for a normal device in HA before you try to add them to the remote card.

WallyDW avatar Mar 01 '22 23:03 WallyDW