mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-06 16:07:48 +00:00
Update src/data/history.ts
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
478539d58d
commit
4091205b58
@ -238,7 +238,7 @@ class HistoryStream {
|
||||
newHistory[entityId] = [];
|
||||
});
|
||||
Object.keys(newHistory).forEach((entityId) => {
|
||||
let purgeOld = false;
|
||||
let purgeOld = entityId in this.combinedHistory;
|
||||
if (
|
||||
entityId in this.combinedHistory &&
|
||||
entityId in streamMessage.states
|
||||
|
Loading…
x
Reference in New Issue
Block a user