Make updateHass not async (#4060)

This commit is contained in:
Paulus Schoutsen 2019-10-19 08:18:56 -07:00 committed by Bram Kragten
parent fbee4937a0
commit bbc3e7d93f

View File

@ -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 };