From 8e01de34408bbc0be4a2d879b6020d25919c495c Mon Sep 17 00:00:00 2001 From: bahmcloud Date: Thu, 15 Jan 2026 06:45:04 +0000 Subject: [PATCH] custom_components/bahmcloud_store/views.py aktualisiert --- custom_components/bahmcloud_store/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/bahmcloud_store/views.py b/custom_components/bahmcloud_store/views.py index 2b49ced..5009c3f 100644 --- a/custom_components/bahmcloud_store/views.py +++ b/custom_components/bahmcloud_store/views.py @@ -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(),