mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-10 10:56:34 +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;
|
||||
}
|
||||
|
||||
protected async _updateHass(obj: Partial<HomeAssistant>) {
|
||||
protected _updateHass(obj: Partial<HomeAssistant>) {
|
||||
// @ts-ignore
|
||||
if (!this.hass) {
|
||||
this._pendingHass = { ...this._pendingHass, ...obj };
|
||||
|
Loading…
x
Reference in New Issue
Block a user