diff --git a/src/dialogs/more-info/ha-more-info-history.ts b/src/dialogs/more-info/ha-more-info-history.ts index 192f48f000..41d2f8d047 100644 --- a/src/dialogs/more-info/ha-more-info-history.ts +++ b/src/dialogs/more-info/ha-more-info-history.ts @@ -123,7 +123,7 @@ export class MoreInfoHistory extends LitElement { new Date(new Date().getTime() - 24 * 60 * 60 * 1000); const now = new Date(); - this._entries = await getLogbookData( + const newEntries = await getLogbookData( this.hass, lastDate.toISOString(), now.toISOString(), @@ -131,6 +131,8 @@ export class MoreInfoHistory extends LitElement { true ); + this._entries = [...(this._entries || []), ...newEntries]; + this._lastLogbookDate = now; }