diff --git a/src/components/chart/state-history-chart-line.ts b/src/components/chart/state-history-chart-line.ts index 50f164c094..1e34d204fb 100644 --- a/src/components/chart/state-history-chart-line.ts +++ b/src/components/chart/state-history-chart-line.ts @@ -376,6 +376,9 @@ class StateHistoryChartLine extends LitElement { lastNullDate = date; } }); + if (lastNullDate !== null) { + pushData(lastNullDate, [null]); + } } // Add an entry for final values