Skip to content

Commit

Permalink
Merge pull request #331 from bratanon/master
Browse files Browse the repository at this point in the history
Fix icons for HA 2024.2+
  • Loading branch information
benct authored Feb 22, 2024
2 parents 168f251 + a96295a commit 761c446
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ class MultipleEntityRow extends LitElement {
renderIcon(stateObj, config) {
return html`<state-badge
class="icon-small"
.hass=${this._hass}
.stateObj="${stateObj}"
.overrideIcon="${config.icon === true ? stateObj.attributes.icon || null : config.icon}"
.stateColor="${config.state_color}"
Expand Down

0 comments on commit 761c446

Please sign in to comment.