Skip to content

Prefer local brand icons for installed integrations - #929

Closed
itsh-neumeier wants to merge 1 commit into
hacs:mainfrom
itsh-neumeier:codex/local-brands-proxy-for-installed-integrations
Closed

itsh-neumeier wants to merge 1 commit into
hacs:mainfrom
itsh-neumeier:codex/local-brands-proxy-for-installed-integrations

Conversation

@itsh-neumeier

Copy link
Copy Markdown

Summary

  • prefer the local Home Assistant Brands Proxy icon for installed custom integrations
  • keep the existing CDN-based �randsUrl() path as a fallback when the local icon is unavailable
  • limit the change to installed integrations so non-installed repositories continue using the existing behavior

Why

Home Assistant 2026.3+ can serve brand assets for installed custom integrations via /api/brands/integration//icon.png, but the HACS repository list still renders icons via the CDN-based �randsUrl() helper. That means integrations with local brand assets can still show the placeholder icon in HACS even though Home Assistant itself displays the correct icon.

This change makes the HACS dashboard prefer the local brand icon for installed integrations and gracefully fall back to the existing CDN path if the local asset is not available.

Refs hacs/integration#5179

Testing

  • not run locally; this environment does not have Node/Yarn available
  • verified the affected render path manually in src/dashboards/hacs-dashboard.ts

@SpengeSec

This comment has been minimized.

@jpawlowski

Copy link
Copy Markdown

Thanks for the PR, looking forward for it to be integrated :-)

@obynio

obynio commented Jul 1, 2026 •

Copy link
Copy Markdown

Hello, do you guys have any updates if this change is gonna be merged ? 😄

dominikgysin added a commit to dominikgysin/HomeAssistant-Jura-WiFi-Integration that referenced this pull request Oct 9, 2026
The logo of 0.3.0 and 0.4.0 shows on the pages of Home Assistant, but HACS shows
the grey placeholder in its list and in its update entry. That is not something
this repository can change: HACS 2.0.5 (the latest release) builds both icon
addresses on the old brands server, brands.home-assistant.io/_/<domain>/icon.png,
which answers with the placeholder for every domain it does not know, and
home-assistant/brands closes pull requests for custom integrations since Home
Assistant 2026.3. The fixes for HACS (hacs/integration#5228 and #5388,
hacs/frontend#929 and #937) are still open.

The README now says so, so that nobody takes it for a bug of this integration.

Documentation only; the code and the version stay as they are.

Co-authored-by: Copilot App <[email protected]>
@frenck

frenck commented Oct 17, 2026

Copy link
Copy Markdown
Member

Thanks for this. HACS is moving into Home Assistant as the Marketplace integration (see hacs/integration#5590), and its UI is now part of the Home Assistant frontend. This is already handled there. Closing this one.

../Frenck

                       

Blogging my personal ramblings at frenck.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants