Skip to content

Commit

Permalink
fix: support for new ha-state-icon in 2024.02
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Feb 1, 2024
1 parent 27877b9 commit ab2b393
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/button-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,8 @@ class ButtonCard extends LitElement {
? html`
<ha-state-icon
.state=${state}
.stateObj=${state}
.hass=${this._hass}
?data-domain=${domain}
data-state=${ifDefined(state?.state)}
style=${styleMap(haIconStyle)}
Expand Down

0 comments on commit ab2b393

Please sign in to comment.