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