From 654e3ce437272a685a1f9932dd795dd2160e1425 Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" Date: Thu, 25 Apr 2024 10:16:00 -0400 Subject: [PATCH] Fix ZHA UI issues (#20622) --- .../integration-panels/zha/dialog-zha-reconfigure-device.ts | 1 + .../integration-panels/zha/zha-network-visualization-page.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 bc5e3a1ef681..26a79ee7007f 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 @@ -47,6 +47,7 @@ class DialogZHAReconfigureDevice extends LitElement { public showDialog(params: ZHAReconfigureDeviceDialogParams): void { this._params = params; + this._clusterConfigurationStatuses = new Map(); this._stages = undefined; } diff --git a/src/panels/config/integrations/integration-panels/zha/zha-network-visualization-page.ts b/src/panels/config/integrations/integration-panels/zha/zha-network-visualization-page.ts index 7520d9550228..be4f2accee26 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-network-visualization-page.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-network-visualization-page.ts @@ -424,7 +424,7 @@ export class ZHANetworkVisualizationPage extends LitElement { ? { physics: { barnesHut: { - springConstant: 0.05, + springConstant: 0, avoidOverlap: 10, damping: 0.09, },