custom_components/bahmcloud_store/__init__.py aktualisiert

This commit is contained in:
2026-01-15 10:52:40 +00:00
parent e10b23a44a
commit 2b0bfb4caa

View File

@@ -28,11 +28,12 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool:
await core.register_http_views() await core.register_http_views()
# RESTORE: keep the module_url pattern that worked for you
await async_register_panel( await async_register_panel(
hass, hass,
frontend_url_path="bahmcloud-store", frontend_url_path="bahmcloud-store",
webcomponent_name="bahmcloud-store-panel", 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_title="Bahmcloud Store",
sidebar_icon="mdi:store", sidebar_icon="mdi:store",
require_admin=True, require_admin=True,