diff --git a/custom_components/bahmcloud_store/__init__.py b/custom_components/bahmcloud_store/__init__.py index a86451b..2d2ebc2 100644 --- a/custom_components/bahmcloud_store/__init__.py +++ b/custom_components/bahmcloud_store/__init__.py @@ -35,6 +35,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: StaticAssetsView, BCSApiView, BCSReadmeView, + BCSVersionsView, BCSCustomRepoView, BCSInstallView, BCSUpdateView, @@ -47,6 +48,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: hass.http.register_view(StaticAssetsView()) hass.http.register_view(BCSApiView(core)) hass.http.register_view(BCSReadmeView(core)) + hass.http.register_view(BCSVersionsView(core)) hass.http.register_view(BCSCustomRepoView(core)) hass.http.register_view(BCSInstallView(core)) hass.http.register_view(BCSUpdateView(core)) @@ -60,7 +62,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: frontend_url_path="bahmcloud-store", webcomponent_name="bahmcloud-store-panel", # IMPORTANT: bump v to avoid caching old JS - module_url="/api/bahmcloud_store_static/panel.js?v=103", + module_url="/api/bahmcloud_store_static/panel.js?v=105", sidebar_title="Bahmcloud Store", sidebar_icon="mdi:store", require_admin=True,