From 6b691063a8c8bdfef8f13af059b12d8c32af23a6 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Fri, 31 Jan 2025 19:13:13 +0200 Subject: [PATCH] Hide "heating" data from climate charts (#23997) --- src/components/chart/state-history-chart-line.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/chart/state-history-chart-line.ts b/src/components/chart/state-history-chart-line.ts index 92d7b5ace5..c018dc4389 100644 --- a/src/components/chart/state-history-chart-line.ts +++ b/src/components/chart/state-history-chart-line.ts @@ -98,6 +98,7 @@ export class StateHistoryChartLine extends LitElement { ) + "
"; const datapoints: Record[] = []; this._chartData.forEach((dataset, index) => { + if (dataset.tooltip?.show === false) return; const param = params.find( (p: Record) => p.seriesIndex === index );