From 155e9d9e95a85a3bb555f238fadd2c00ca7d3d69 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Thu, 6 Jul 2023 03:55:31 -0400 Subject: [PATCH] Default the ZHA channel change dialog's preferred channel to `auto` (#17178) --- .../integration-panels/zha/dialog-zha-change-channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/integrations/integration-panels/zha/dialog-zha-change-channel.ts b/src/panels/config/integrations/integration-panels/zha/dialog-zha-change-channel.ts index ab3f5b77d4..13e4bc0d46 100644 --- a/src/panels/config/integrations/integration-panels/zha/dialog-zha-change-channel.ts +++ b/src/panels/config/integrations/integration-panels/zha/dialog-zha-change-channel.ts @@ -45,7 +45,7 @@ class DialogZHAChangeChannel extends LitElement implements HassDialog { public async showDialog(params: ZHAChangeChannelDialogParams): Promise { this._params = params; - this._newChannel = params.currentChannel; + this._newChannel = "auto"; } public closeDialog(): void {