Button gix
This commit is contained in:
@@ -214,11 +214,6 @@ class BCSApiView(HomeAssistantView):
|
|||||||
self.core: BCSCore = core
|
self.core: BCSCore = core
|
||||||
|
|
||||||
async def get(self, request: web.Request) -> web.Response:
|
async def get(self, request: web.Request) -> web.Response:
|
||||||
# Ensure UI state is correct even if users deleted integration folders manually.
|
|
||||||
try:
|
|
||||||
await self.core.reconcile_installed()
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
return web.json_response(
|
return web.json_response(
|
||||||
{"ok": True, "version": self.core.version, "repos": self.core.list_repos_public()}
|
{"ok": True, "version": self.core.version, "repos": self.core.list_repos_public()}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user