diff --git a/custom_components/bahmcloud_store/__init__.py b/custom_components/bahmcloud_store/__init__.py index b7b959e..a86451b 100644 --- a/custom_components/bahmcloud_store/__init__.py +++ b/custom_components/bahmcloud_store/__init__.py @@ -39,6 +39,8 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: BCSInstallView, BCSUpdateView, BCSUninstallView, + BCSBackupsView, + BCSRestoreView, BCSRestartView, ) @@ -49,6 +51,8 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: hass.http.register_view(BCSInstallView(core)) hass.http.register_view(BCSUpdateView(core)) hass.http.register_view(BCSUninstallView(core)) + hass.http.register_view(BCSBackupsView(core)) + hass.http.register_view(BCSRestoreView(core)) hass.http.register_view(BCSRestartView(core)) await async_register_panel( @@ -56,7 +60,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=102", + module_url="/api/bahmcloud_store_static/panel.js?v=103", sidebar_title="Bahmcloud Store", sidebar_icon="mdi:store", require_admin=True,