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
+3
View File
@@ -64,6 +64,9 @@ class HaCardChooser extends Polymer.Element {
}); });
this.observer.observe(this); this.observer.observe(this);
} }
if (!this._detachedChild) {
this._updateCard(newData);
}
} }
} }
customElements.define(HaCardChooser.is, HaCardChooser); customElements.define(HaCardChooser.is, HaCardChooser);