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(