From 1e4a3c398bf83ba0eee999ab9e7fd2ac773538de Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 21 Jan 2023 17:08:03 -1000 Subject: [PATCH] review --- src/data/history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/history.ts b/src/data/history.ts index 2c2e93c609..1f95af2552 100644 --- a/src/data/history.ts +++ b/src/data/history.ts @@ -249,7 +249,7 @@ class HistoryStream { streamMessage.states[entityId] ); if ( - streamMessage.states[entityId][0].lu > lastEntityCombinedHistory.lu + streamMessage.states[entityId][0].lu < lastEntityCombinedHistory.lu ) { // If the history is out of order we have to sort it. newHistory[entityId] = newHistory[entityId].sort(