From 82b50a1c5de15eb8e47c632cee8040ca93e77bf9 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:34:43 -0700 Subject: [PATCH] Refine automation action search with ignoreLocation (#22332) --- src/panels/config/automation/add-automation-element-dialog.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/add-automation-element-dialog.ts b/src/panels/config/automation/add-automation-element-dialog.ts index 55401c5f75..0760025878 100644 --- a/src/panels/config/automation/add-automation-element-dialog.ts +++ b/src/panels/config/automation/add-automation-element-dialog.ts @@ -208,6 +208,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog { const options: IFuseOptions = { keys: ["key", "name", "description"], isCaseSensitive: false, + ignoreLocation: true, minMatchCharLength: Math.min(filter.length, 2), threshold: 0.2, getFn: getStripDiacriticsFn,