diff --git a/custom_components/bahmcloud_store/__init__.py b/custom_components/bahmcloud_store/__init__.py index 00efa6a..7f9baf4 100644 --- a/custom_components/bahmcloud_store/__init__.py +++ b/custom_components/bahmcloud_store/__init__.py @@ -28,11 +28,12 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: await core.register_http_views() + # RESTORE: keep the module_url pattern that worked for you await async_register_panel( hass, frontend_url_path="bahmcloud-store", webcomponent_name="bahmcloud-store-panel", - module_url="/api/bahmcloud_store_static/panel.js?v=45", + module_url="/api/bahmcloud_store_static/panel.js?v=42", sidebar_title="Bahmcloud Store", sidebar_icon="mdi:store", require_admin=True,