-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
not sure. some items can not be customized like this, depending on their source. what integration made these entities? can you confirm you see the resource being installed in the inspector Console panel ? btw, You can also color those binary_sensor icons using the official state-colors set in a theme (the preferred way) is there no device_class on these entities? that would solve all of your needs. set the |
Beta Was this translation helpful? Give feedback.
-
Solved it: I was missing the quotation marks in the return statement for the icon: device_class was already set for these entities. But the window device class uses the mdi:window-open/closed icon. I want to have the mdi:window-open/closed-variant icon for all my window entities |
Beta Was this translation helpful? Give feedback.
-
so this can be closed? |
Beta Was this translation helpful? Give feedback.
Solved it: I was missing the quotation marks in the return statement for the icon:
if (state === 'on') return 'mdi:window-open-variant';
device_class was already set for these entities. But the window device class uses the mdi:window-open/closed icon. I want to have the mdi:window-open/closed-variant icon for all my window entities