1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 10:48:44 +00:00

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

View File

@@ -55,6 +55,7 @@ class DialogZHAReconfigureDevice extends LitElement {
this._status = undefined; this._status = undefined;
this._stages = undefined; this._stages = undefined;
this._clusterConfigurationStatuses = undefined; this._clusterConfigurationStatuses = undefined;
this._showDetails = false;
fireEvent(this, "dialog-closed", { dialog: this.localName }); fireEvent(this, "dialog-closed", { dialog: this.localName });
} }
@@ -225,10 +226,10 @@ class DialogZHAReconfigureDevice extends LitElement {
)} )}
</h2> </h2>
${this._clusterConfigurationStatuses!.size > 0 ${this._clusterConfigurationStatuses?.size
? html` ? html`
${Array.from( ${Array.from(
this._clusterConfigurationStatuses!.values() this._clusterConfigurationStatuses.values()
).map( ).map(
(clusterStatus) => html` (clusterStatus) => html`
<div class="grid-item"> <div class="grid-item">