Fix broken state_color in Entities card (#20077)

Restore button functionality
This commit is contained in:
Simon Lamon 2024-03-15 11:22:25 +01:00 committed by GitHub
parent 097cba5c60
commit b3718b8b4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ export class HuiButtonsBase extends LitElement {
.overrideIcon=${entityConf.icon}
.overrideImage=${entityConf.image}
class=${name ? "" : "no-text"}
stateColor
.stateColor=${true}
slot="icon"
></state-badge>
`