I am not able to change the icon In the title for the Tracker card. Would be nice to be able to do so.
This does not work:
title: mdi:update Update Custom code
or
icon: mdi:update
I am not able to change the icon In the title for the Tracker card. Would be nice to be able to do so.
This does not work:
title: mdi:update Update Custom code
or
icon: mdi:update
It doesnāt work for any other cards either. If you change the name from Updates, it doesnāt show an icon either. If you check the py file custom_updater.py, you will see itās using an ansi characterā¦ you can find a different character, but like any other card, there is no iconā¦
Hopefully the developers will implement the icon-functionality/tag.
If you want your GUI to be uniform for your HA setup, icons should be configurable as default for Lovelace cards.
You can most definitely change it. use the title
option.
Thanks for replying.
But I donāt get it. What do I write in the title string to get āmdi:selected-iconā to be displayed as a part of the title?
oh. no that will not work, but copy any icon from https://gist.github.com/roachhd/1f029bd4b50b8a524f3c and paste it in the title and it should show.
VSo, trying this, which I now see works here in this post, but not in my Hassio. I have cleared my browsers cache.
Sighā¦its hard to be a N00b, where I am doing wrong?
type: ācustom:tracker-cardā
title: ā Update Custom codeā
By the way, the Mini Graph gard looks like it inherits the sensor icon, so maybe possible to pick up a mdi:icon in other cards too?
Here is mine:
- type: custom:tracker-card
title: "\U0001F4E3 Custom Card Updates"
If you change the title/enter a title then it doesnāt use an icon. So I looked in the code for the js and saw that Ludeeus was using \U0001F4E3 as the icon so I added that to the title and it workd with my ācustom titleā
I then did a google search for U0001F4E3 and saw itās a unicode characterā¦ so I think any unicode character will workā¦ see a list here http://www.fileformat.info/info/unicode/block/miscellaneous_symbols_and_pictographs/list.htm
I mistakenly said ansi character in my first post.
Your radioactive is here https://www.compart.com/en/unicode/U+2622
Maybe try \U00002622ā¦ hereā¦ it works
FWIW, I copied an icon from that gist:
Also pretty sure it will convert the emoji to unicode when it stores itā¦
I could not find your radioactive emoji on that gistā¦
I still miss the standard HA icons to choose from, but got the icon working by writing the following:
title: ā\U00002622 Update Custom codeā