Hi,
I want to change the color of the icon of a badge in Lovelace depending on the state, but I even fail to change the icon
I have the below in my raw lovelace configuration editor, but I am not getting the expected result.
views:
- title: Home
badges:
- entity: input_boolean.sprinklersprog1
type: state-label
name: test
icon: 'mdi:home'
show_icon: true
I can see the badge, it also gets the name “test”, but I want it to have the “home” icon
Reading the documentation at https://www.home-assistant.io/lovelace/badges/ this should work, but it does not in my setup. It does not provide any error nor lead on how to troubleshoot…it just ignores my input.
Any tips on what I am missing? I’m pretty “new” at this, so I may be missing the “obvious” thing here.
thanks so much in advance for any clues,
chrisV