mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-11 12:01:07 +00:00
Cleanup config flow (#2932)
* Break up config flow dialog * Allow picking devices when config flow finishes * Lint * Tweaks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user