From 2f46966fe24712b5bd3a9402c48373f5747bb645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Bachmann?= Date: Thu, 15 Jan 2026 19:51:26 +0000 Subject: [PATCH] . --- custom_components/bahmcloud_store/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/custom_components/bahmcloud_store/__init__.py b/custom_components/bahmcloud_store/__init__.py index 3366fa9..e9e7752 100644 --- a/custom_components/bahmcloud_store/__init__.py +++ b/custom_components/bahmcloud_store/__init__.py @@ -28,12 +28,15 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: await core.async_initialize() # Register HTTP views and panel - from .views import StaticAssetsView, BCSApiView, BCSReadmeView, BCSCustomRepoView + from .views import StaticAssetsView, BCSApiView, BCSReadmeView, BCSCustomRepoView, BCSInstallView, BCSUpdateView, BCSRestartView hass.http.register_view(StaticAssetsView()) hass.http.register_view(BCSApiView(core)) hass.http.register_view(BCSReadmeView(core)) hass.http.register_view(BCSCustomRepoView(core)) + hass.http.register_view(BCSInstallView(core)) + hass.http.register_view(BCSUpdateView(core)) + hass.http.register_view(BCSRestartView(core)) await async_register_panel( hass, @@ -63,4 +66,4 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: interval_seconds = int(getattr(core, "refresh_seconds", 300) or 300) async_track_time_interval(hass, periodic, timedelta(seconds=interval_seconds)) - return True + return True \ No newline at end of file