Default the ZHA channel change dialog's preferred channel to auto (#17178)

This commit is contained in:
puddly 2023-07-06 03:55:31 -04:00 committed by GitHub
parent 3d2734eb88
commit 155e9d9e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class DialogZHAChangeChannel extends LitElement implements HassDialog {
public async showDialog(params: ZHAChangeChannelDialogParams): Promise<void> {
this._params = params;
this._newChannel = params.currentChannel;
this._newChannel = "auto";
}
public closeDialog(): void {