Fix cards not getting updated (#927)

This commit is contained in:
Paulus Schoutsen 2018-02-26 00:24:07 -08:00 committed by GitHub
parent 8b719778d0
commit cdb9936795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,9 @@ class HaCardChooser extends Polymer.Element {
});
this.observer.observe(this);
}
if (!this._detachedChild) {
this._updateCard(newData);
}
}
}
customElements.define(HaCardChooser.is, HaCardChooser);