diff --git a/custom_components/shopping_list_manager/__init__.py b/custom_components/shopping_list_manager/__init__.py index 3ed43fe..7d0f108 100644 --- a/custom_components/shopping_list_manager/__init__.py +++ b/custom_components/shopping_list_manager/__init__.py @@ -40,10 +40,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: storage = ShoppingListStorage(hass, component_path, country) await storage.async_load() - # Initialize search engine after products are loaded - self._search_engine = ProductSearch(self._products) - _LOGGER.debug("Initialized product search engine") - # Initialize image handler image_handler = ImageHandler(hass, config_path)