Closed Mariusthvdb closed 1 year ago
It works well on my side, so there's maybe something in the button-card templates you're using that breaks it?
- type: 'custom:button-card'
color_type: card
entity: switch.skylight
state:
- value: 'on'
icon: mdi:alert
- value: 'off'
icon: mdi:flash
yes, seeing the same on some other cards, so maybe it was a fluke or the one card. closing and Ill see what caused it. thx
Checklist
Describe the bug A clear and concise description of what the bug is.
since the new state icon calculation is taken from core HA in version 4 (dev), the following config wont set the icon anymore, even though it is places last in the config
Version of the card Version: 400dev5 To Reproduce This is the configuration I used:
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen. have the
state:
config override the iconDesktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
I can override the icon with:
which is perfectly fine of course. It's just a bit unexpected the
state:
wont work anymore