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 );