mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-04 15:07:48 +00:00
review
This commit is contained in:
parent
1e4a3c398b
commit
9f9ab6c238
@ -164,6 +164,9 @@ export class MoreInfoHistory extends LitElement {
|
|||||||
if (!isComponentLoaded(this.hass, "history") || this._subscribed) {
|
if (!isComponentLoaded(this.hass, "history") || this._subscribed) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this._subscribed) {
|
||||||
|
this._unsubscribeHistoryTimeWindow();
|
||||||
|
}
|
||||||
this._subscribed = subscribeHistoryStatesTimeWindow(
|
this._subscribed = subscribeHistoryStatesTimeWindow(
|
||||||
this.hass!,
|
this.hass!,
|
||||||
(combinedHistory) => {
|
(combinedHistory) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user