custom_components/bahmcloud_store/views.py aktualisiert

This commit is contained in:
2026-01-15 06:45:04 +00:00
parent b7ed65b49d
commit 8e01de3440

View File

@@ -55,6 +55,11 @@ class BCSApiView(HomeAssistantView):
self.core = core
async def get(self, request):
# IMPORTANT:
# Refresh on-demand so the UI "Refresh" button updates immediately,
# instead of waiting for the periodic refresh timer.
await self.core.refresh()
return self.json(
{
"repos": self.core.list_repos_public(),