mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix history chart when final sensor state is unavailable (#16852)
This commit is contained in:
parent
2076a083d3
commit
7182abfec5
@ -376,6 +376,9 @@ class StateHistoryChartLine extends LitElement {
|
||||
lastNullDate = date;
|
||||
}
|
||||
});
|
||||
if (lastNullDate !== null) {
|
||||
pushData(lastNullDate, [null]);
|
||||
}
|
||||
}
|
||||
|
||||
// Add an entry for final values
|
||||
|
Loading…
x
Reference in New Issue
Block a user