From 4dbae38bd99bb917e9d622f978020d257c205d11 Mon Sep 17 00:00:00 2001 From: thekiwismarthome <134335563+thekiwismarthome@users.noreply.github.com> Date: Sat, 14 Feb 2026 07:37:41 +1300 Subject: [PATCH] Update __init__.py --- custom_components/shopping_list_manager/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/shopping_list_manager/__init__.py b/custom_components/shopping_list_manager/__init__.py index 7d0f108..98595f7 100644 --- a/custom_components/shopping_list_manager/__init__.py +++ b/custom_components/shopping_list_manager/__init__.py @@ -166,6 +166,10 @@ async def _async_register_websocket_handlers( hass, handlers.websocket_update_product, ) + websocket_api.async_register_command( + hass, + handlers.websocket_get_product_substitutes, + ) # Categories handlers websocket_api.async_register_command(