mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 22:07:20 +00:00
Fix ZHA device reconfiguration dialog (#11016)
This commit is contained in:
parent
3024ee43f9
commit
75a95ff675
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user