diff --git a/src/panels/lovelace/editor/card-editor/hui-card-picker.ts b/src/panels/lovelace/editor/card-editor/hui-card-picker.ts index 230f13845b..f9773c8c1b 100644 --- a/src/panels/lovelace/editor/card-editor/hui-card-picker.ts +++ b/src/panels/lovelace/editor/card-editor/hui-card-picker.ts @@ -81,7 +81,7 @@ export class HuiCardPicker extends LitElement { const options: IFuseOptions = { keys: ["type", "name", "description"], isCaseSensitive: false, - minMatchCharLength: 2, + minMatchCharLength: filter.length === 1 ? 1 : 2, threshold: 0.2, }; const fuse = new Fuse(cards, options);