mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 11:26:35 +00:00
Make updateHass not async (#4060)
This commit is contained in:
parent
fbee4937a0
commit
bbc3e7d93f
@ -65,7 +65,7 @@ export default <T>(superClass: Constructor<T>): Constructor<T & HassBaseEl> =>
|
|||||||
el.hass = this.hass;
|
el.hass = this.hass;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async _updateHass(obj: Partial<HomeAssistant>) {
|
protected _updateHass(obj: Partial<HomeAssistant>) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if (!this.hass) {
|
if (!this.hass) {
|
||||||
this._pendingHass = { ...this._pendingHass, ...obj };
|
this._pendingHass = { ...this._pendingHass, ...obj };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user