Skip to content

Commit

Permalink
feat(#125): add entity state to mouseover title
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Oct 18, 2023
1 parent 9daafbc commit 2c943c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class Chart extends LitElement {
@dblclick=${() => this._handleBoxDoubleTap(box)}
@mouseenter=${() => this._handleMouseEnter(box)}
@mouseleave=${this._handleMouseLeave}
title=${name}
title=${formattedState + box.unit_of_measurement + ' ' + name}
class=${this.highlightedEntities.includes(box.config) ? 'hl' : ''}
>
${show_icons && isNotPassthrough ? html`<ha-icon .icon=${icon}></ha-icon>` : null}
Expand Down

0 comments on commit 2c943c0

Please sign in to comment.