1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +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._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">