mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-05 07:27:47 +00:00
cleanup
This commit is contained in:
parent
87d781f786
commit
c1e905e03a
@ -102,9 +102,6 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
||||
this._subscribed = subscribeHistoryStatesWindow(
|
||||
this.hass!,
|
||||
(combinedHistory) => {
|
||||
// "recent" means start time is a sliding window
|
||||
// so we need to calculate an expireTime to
|
||||
// purge old events
|
||||
if (!this._subscribed) {
|
||||
// Message came in before we had a chance to unload
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user