mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
Update __init__.py
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user