sweh
(Stephen Harris)
August 23, 2024, 4:31pm
1
I have multiple badges on one page for the same type of element. This worked wiith the old badges 'cos each badge had a name
With the new badges, however…
I’ve been able to go back to the old style by labelling each and every badge with a “custom:hui-state-badge-element” type, but I wonder if there’s a way to use the new badges with an added label?
123
(Taras)
August 23, 2024, 5:25pm
2
Yes. A name can be displayed next to the icon.
The documentation shows how to do it.
Dashboards - Badges
Pipo31416
(Pipo31416)
August 23, 2024, 6:10pm
3
For the new badges yes, but no for the hack.
sweh
(Stephen Harris)
August 23, 2024, 8:11pm
4
Ah, thanks. I was looking for yaml config, but I can mangle a new badge, make changes from the GUI, and work out the changes
eg
entity: binary_sensor.tv
icon: mdi:television
display_type: complete