From ab3a31275a46981822fdfdbd5cda8da668b519f1 Mon Sep 17 00:00:00 2001 From: CervezaStallone Date: Tue, 30 Jun 2026 10:49:13 +0200 Subject: [PATCH] fix: use local brands API for update entity picture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since HA 2026.3.0, brand images are served through the local API (/api/brands/integration/{domain}/icon.png) instead of the external CDN. Custom integrations can now ship their own brand images in a brand/ subdirectory, but the update entity was still pointing at the CDN URL which returns a generic placeholder for unknown domains — causing HA to display 'icon not available' for any custom integration not listed in the official brands repository. Fixes icon display for all custom integrations that ship a brand/ directory per the HA 2026.3 spec. --- custom_components/hacs/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hacs/update.py b/custom_components/hacs/update.py index ec4014302db..183e03d7239 100644 --- a/custom_components/hacs/update.py +++ b/custom_components/hacs/update.py @@ -76,7 +76,7 @@ def entity_picture(self) -> str | None: ): return None - return f"https://brands.home-assistant.io/_/{self.repository.data.domain}/icon.png" + return f"/api/brands/integration/{self.repository.data.domain}/icon.png" async def async_install(self, version: str | None, backup: bool, **kwargs: Any) -> None: """Install an update."""