This commit is contained in:
J. Nick Koston 2023-01-15 16:30:39 -10:00
parent 87d781f786
commit c1e905e03a

View File

@ -102,9 +102,6 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
this._subscribed = subscribeHistoryStatesWindow( this._subscribed = subscribeHistoryStatesWindow(
this.hass!, this.hass!,
(combinedHistory) => { (combinedHistory) => {
// "recent" means start time is a sliding window
// so we need to calculate an expireTime to
// purge old events
if (!this._subscribed) { if (!this._subscribed) {
// Message came in before we had a chance to unload // Message came in before we had a chance to unload
return; return;