Skip to content

Commit

Permalink
fix: legend indicators respect entity attribute configuration (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
arychj authored Jul 24, 2024
1 parent c0ad333 commit 5fe01d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class MiniGraphCard extends LitElement {
@click=${e => this.handlePopup(e, this.entity[entity.index])}
@mouseenter=${() => this.setTooltip(entity.index, -1, this.getEntityState(entity.index), 'Current')}
@mouseleave=${() => (this.tooltip = {})}>
${this.renderIndicator(this.entity[entity.index].state, entity.index)}
${this.renderIndicator(this.getEntityState(entity.index), entity.index)}
<span class="ellipsis">${this.computeName(entity.index)}</span>
</div>
`)}
Expand Down

0 comments on commit 5fe01d1

Please sign in to comment.