Update __init__.py

This commit is contained in:
thekiwismarthome
2026-02-14 07:22:53 +13:00
committed by GitHub
parent 18040e5017
commit b9ae304ba0
@@ -40,10 +40,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
storage = ShoppingListStorage(hass, component_path, country) storage = ShoppingListStorage(hass, component_path, country)
await storage.async_load() 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 # Initialize image handler
image_handler = ImageHandler(hass, config_path) image_handler = ImageHandler(hass, config_path)