From 2c943c0cae6a8536860b89cc2c8bda516b615d39 Mon Sep 17 00:00:00 2001 From: Mindfreeze Date: Wed, 18 Oct 2023 16:08:42 +0300 Subject: [PATCH] feat(#125): add entity state to mouseover title --- src/chart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart.ts b/src/chart.ts index b0f90e7..54a205f 100644 --- a/src/chart.ts +++ b/src/chart.ts @@ -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`` : null}