Cleanup config flow (#2932)

* Break up config flow dialog

* Allow picking devices when config flow finishes

* Lint

* Tweaks
This commit is contained in:
Paulus Schoutsen
2019-03-15 10:40:18 -07:00
committed by GitHub
parent 2aec877310
commit 915c441a94
9 changed files with 664 additions and 226 deletions

View File

@@ -39,7 +39,7 @@ class StateBadge extends LitElement {
}
protected updated(changedProps: PropertyValues) {
if (!changedProps.has("stateObj")) {
if (!changedProps.has("stateObj") || !this.stateObj) {
return;
}
const stateObj = this.stateObj;