From 75a95ff675d93a2ddf11dfa57bc67885917a35f6 Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" Date: Wed, 26 Jan 2022 10:19:40 -0500 Subject: [PATCH] Fix ZHA device reconfiguration dialog (#11016) --- .../integration-panels/zha/dialog-zha-reconfigure-device.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts b/src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts index f1e9c7c87a..1ae26ad04d 100644 --- a/src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts +++ b/src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts @@ -55,6 +55,7 @@ class DialogZHAReconfigureDevice extends LitElement { this._status = undefined; this._stages = undefined; this._clusterConfigurationStatuses = undefined; + this._showDetails = false; fireEvent(this, "dialog-closed", { dialog: this.localName }); } @@ -225,10 +226,10 @@ class DialogZHAReconfigureDevice extends LitElement { )} - ${this._clusterConfigurationStatuses!.size > 0 + ${this._clusterConfigurationStatuses?.size ? html` ${Array.from( - this._clusterConfigurationStatuses!.values() + this._clusterConfigurationStatuses.values() ).map( (clusterStatus) => html`