This commit is contained in:
J. Nick Koston 2023-01-21 17:10:55 -10:00
parent 1e4a3c398b
commit 9f9ab6c238

View File

@ -164,6 +164,9 @@ export class MoreInfoHistory extends LitElement {
if (!isComponentLoaded(this.hass, "history") || this._subscribed) {
return;
}
if (this._subscribed) {
this._unsubscribeHistoryTimeWindow();
}
this._subscribed = subscribeHistoryStatesTimeWindow(
this.hass!,
(combinedHistory) => {