From 35d53f18aee868812cea04595dfa3673ddece622 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 28 Mar 2024 13:45:56 +0100 Subject: [PATCH] Fix not found category --- src/panels/config/category/ha-category-picker.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/config/category/ha-category-picker.ts b/src/panels/config/category/ha-category-picker.ts index 529db65b2c..0c438f1089 100644 --- a/src/panels/config/category/ha-category-picker.ts +++ b/src/panels/config/category/ha-category-picker.ts @@ -224,6 +224,8 @@ export class HaCategoryPicker extends SubscribeMixin(LitElement) { if (newValue === NO_CATEGORIES_ID) { newValue = ""; + this.comboBox.setInputValue(""); + return; } if (![ADD_NEW_SUGGESTION_ID, ADD_NEW_ID].includes(newValue)) {