This commit is contained in:
2026-01-18 13:11:39 +00:00
parent 1a53107450
commit 0718bee185

View File

@@ -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,