Fix ZHA device reconfiguration dialog (#11016)

This commit is contained in:
David F. Mulcahey 2022-01-26 10:19:40 -05:00 committed by GitHub
parent 3024ee43f9
commit 75a95ff675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {
)}
</h2>
${this._clusterConfigurationStatuses!.size > 0
${this._clusterConfigurationStatuses?.size
? html`
${Array.from(
this._clusterConfigurationStatuses!.values()
this._clusterConfigurationStatuses.values()
).map(
(clusterStatus) => html`
<div class="grid-item">