This commit is contained in:
J. Nick Koston 2023-01-21 17:08:03 -10:00
parent 690e2a3aa9
commit 1e4a3c398b

View File

@ -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(