Repository navigation
Description
Web browser
Chromium-based (Chrome/Edge) and Firefox — any recent browser
Web browser version
Reproduces on all current browsers; the bug is a static code gap in the HACS frontend bundle, not a browser-specific rendering issue
System Health details
- Home Assistant: 2026.4.2
- HACS integration: 2.0.5 (latest release, confirmed up to date via `update.hacs_update`)
- HACS frontend bundle: latest published release is `20250128065759` (Jan 28, 2025)
- Custom integration reproducing the issue: `iskael/bosch-dishwasher`, which ships inline brand icons under `custom_components/bosch_dishwasher/brand/` per the new API
Checklist
- I'm running the newest version of HACS
- I have filled out the issue template to the best of my ability
- I have read https://hacs.xyz/docs/help/issues/
- This issue is related to the frontend of HACS
- This issue only contains 1 issue
- This is a bug and not a feature request
- This issue is not a duplicate
Describe the issue
Starting with Home Assistant 2026.3, custom integrations can ship their own brand icons directly inside the integration (`custom_components//brand/icon.png`), and HA serves them through a new authenticated proxy at `/api/brands/integration//`. See the official announcement: https://developers.home-assistant.io/blog/2026/02/24/brands-proxy-api. The `home-assistant/brands` repository now auto-closes any PR for `custom_integrations/*` and tells contributors to use the inline mechanism instead.
The problem is that the HACS frontend still hits the public CDN for custom-integration icons, so inline brands are invisible in the HACS downloads panel — the row shows the "icon not available" placeholder even though the icon is correctly served by the local proxy.
Root cause (verified against the source):
`src/dashboards/hacs-dashboard.ts` imports `brandsUrl` from the pinned `homeassistant-frontend` submodule and calls it like this:
```ts
<img
src=${brandsUrl({
domain: repository.domain || "invalid",
type: "icon",
useFallback: true,
darkOptimized: this.hass.themes?.darkMode,
})}
/>
```
`useFallback` is a field from the old `BrandsOptions` interface that no longer exists in `home-assistant/frontend` `dev`. The current implementation was rewritten for the brands proxy:
```ts
// home-assistant/frontend/src/util/brands-url.ts (current)
export const brandsUrl = (options: BrandsOptions, hassUrl?: string): string => {
hassUrl = hassUrl ?? location.origin;
const base = `/api/brands/integration/${options.domain}/${
options.darkOptimized ? "dark_" : ""
}${options.type}.png`;
const url = new URL(base, hassUrl);
if (_brandsAccessToken) {
url.searchParams.set("token", _brandsAccessToken);
}
return url.toString();
};
```
HACS's pinned submodule is still on the old version that returns `https://brands.home-assistant.io/_/{domain}/icon.png\` directly to the browser. That CDN path doesn't serve inline-shipped custom-integration icons, so custom integrations on HA 2026.3+ that use the new mechanism get the placeholder.
Also worth noting: the maintainers of `home-assistant/brands` already redirect contributors here. Closed PR home-assistant/brands#10149 from this thread was auto-closed with the exact message "we no longer accept brand icons for custom integrations in this repository".
Reproduction steps
- Run Home Assistant 2026.3.0 or newer (reproduced on 2026.4.2).
- Install any custom integration that ships brand icons inline under `custom_components//brand/icon.png`. A minimal example is `iskael/bosch-dishwasher` (v0.1.4 and later).
- Confirm that HA core renders the icon in Settings → Devices & services (it does — served via `/api/brands/integration//icon.png` with an auth token).
- Open HACS → Downloads and look at the row for that integration.
- The row shows the generic "icon not available" placeholder instead of the inline icon.
Direct verification against the HA instance:
```
200, image/png, matches the bytes of brand/icon.png
curl -H "Authorization: Bearer " \
http://HA/api/brands/integration/bosch_dishwasher/icon.png
→ 200, image/png, 2515 bytes
without the token the proxy returns 403
→ 403
```
Screenshots
The same integration renders its icon correctly in HA core's integration list and on the config-flow dialog — the gap is specific to the HACS panel.
Javascript logs from your browser console
No runtime errors. The bug is a static code gap: the bundled `brandsUrl` returns the old CDN URL (`https://brands.home-assistant.io/_/bosch_dishwasher/icon.png\`), the browser requests it, the CDN responds 404, and HACS's `` falls back to the placeholder. No exceptions are thrown.
Debug logs
Not applicable. This is not a runtime error in the integration; it is reproducible by reading the source of `src/dashboards/hacs-dashboard.ts` and the pinned `homeassistant-frontend` submodule. Enabling HACS debug logging produces no additional information because the icon resolution happens entirely on the frontend.
Diagnostics dump
Not applicable for the same reason — the HACS integration diagnostics do not cover frontend bundle paths. Happy to provide one if the maintainers believe it would add information.
Requested change
- Bump the pinned `homeassistant-frontend` submodule past the brands-proxy rewrite (so `brandsUrl` points at `/api/brands/integration/...` and uses the access token flow).
- In `src/dashboards/hacs-dashboard.ts`, drop `useFallback: true` (no longer a valid `BrandsOptions` field) and call `fetchAndScheduleBrandsAccessToken(this.hass)` during panel initialization so `
` URLs carry a valid `?token=...` query string.
- Cut a new HACS frontend release — the last published one is `20250128065759`, which predates the HA 2026.3 brands-proxy feature.
With those three changes the HACS panel will pick up inline brand icons automatically, no PR to `home-assistant/brands` required (which is the officially supported path now).
Activity
hacs-bot commentedon Apr 15, 2026
Thank you for opening an issue in the HACS.
Before proceeding, please verify the following:
Select the correct issue template:
HACS provides different templates for different types of bugs. Choosing the right template ensures you're asked the right questions and helps route your bug appropriately.
Complete the ENTIRE issue template:
Make sure you've read the issue guidelines and filled out every single field in the issue template, even if some fields seem unrelated to your specific situation.
Fill out everything, even if it seems unnecessary:
Don't skip fields because they "don't seem relevant" to your bug. The template asks for specific information because:
Issues with incomplete templates take significantly longer to resolve or may be closed without resolution.
If you're experiencing a similar bug:
If your bug is identical to an existing one, please:
Adding duplicate comments creates noise and makes it harder to track and resolve issues. Reactions help prioritize issues based on how many users are affected.
Getting help:
If you need assistance filling out the template or understanding your issue:
What happens next:
Maintainers and community members will review your issue and may:
Use authenticated brands proxy for repository icons
Use authenticated brands proxy for update entity pictures
manuveli commentedon Apr 22, 2026
#5228
hacs/frontend#937
Delivered integration and frontend fix for this, hope it gets merged soon.
yellowcooln commentedon Apr 30, 2026
Another concrete reproduction:
pymc_repeatericon not availableplaceholder for the repository card.Why this appears inconsistent with some other integrations:
meshcore-dev/meshcore-haworks in HACS becausemeshcorealready exists inhome-assistant/brands.pymc_repeaterdoes not exist there, and new PRs for custom integrations are now auto-closed byhome-assistant/brands.I verified that directly by opening:
The bot response there says custom integrations must now ship local brand assets instead of adding entries to
home-assistant/brands, whichpymc_repeateralready does.So this repo is another example where:
custom_components/<domain>/brand/assets are correctsvilendotorg commentedon May 4, 2026
Confirming this affects HaSeerr as well:
custom_components/haseerr/brand/+ repo rootRelated: commented on #5171 with same confirmation.
fix(brand): transparent backgrounds + even padding on brand icons
feat: ship inline brand icons (HA 2026.3+ brands proxy)
inventor7777 commentedon Jun 27, 2026
This has been a huge annoyance as the Update entities look very unprofessional without icons :)
Is there an expected timeline for when this could be released? Whether in beta or normal.
edmogeor commentedon Jun 28, 2026
Still an issue - Home Assistant not accepting PRs for custom components to the brand repo
LayerTM commentedon Jul 1, 2026
Confirming this with a custom integration (
unifi_unas_rest) on current HA + HACS.custom_components/<domain>/brand/icon.pngrenders correctly in the HA core UI (Settings → Devices & Services) — the local brands proxy works there.Matches the diagnosis: the HACS dashboard builds the icon
<img src>via the pinned legacybrandsUrl(..., useFallback: true), i.e. a direct browser request tohttps://brands.home-assistant.io/_/<domain>/icon.png, instead of the authenticated/api/brands/…proxy. For a custom integration that isn't inhome-assistant/brands, that URL returns the placeholder (verified:/<domain>/icon.png→ 404,/_/<domain>/icon.png→ placeholder image).Since
home-assistant/brandsnow auto-closescustom_integrations/*PRs in favor of the inlinebrand/folder, there's currently no repo-side workaround — the inline icon works everywhere HA core renders, just not the HACS card.hacs/frontend#937 + #5228 look like they already fix this by switching to the authenticated proxy. Would be great to get those shipped. Thanks for maintaining HACS!
Add brand/icon.png + logo.png for native HA brand icon resolution
Ship inline brand icon (HA 2026.3+ local brands proxy)
Restore custom_components/ha_blinds/brand/ - HA core reads it locally
JimboHamez commentedon Jul 23, 2026
Confirming this on HACS 2.0.5 / HA 2026.3+, and adding one point I don't think has come up yet.
On where the CDN URL comes from:
src/dashboards/hacs-dashboard.tsrenders the icon column withbrandsUrl({ domain, type: "icon", useFallback: true, darkOptimized }). With the current submodule pin that produceshttps://brands.home-assistant.io/_/{domain}/dark_icon.png. (#5171 attributes it todata-v2.hacs.xyz— that's the metadata CDN, not the icon source, which may be why that report hasn't been actionable.)The three-step fix above only covers integrations that are already downloaded.
/api/brands/integration/{domain}/{image}resolves local files through_serve_from_custom_integration, which callsasync_get_custom_components()and returnsNoneif the domain isn't on disk. For a repository listed in the store but not yet downloaded there is nothing to read, so it falls through to the CDN — and the CDN can no longer help, sincehome-assistant/brandsstopped accepting custom integrations when the proxy landed.So after the frontend fix, an author's icon shows only for users who have already installed it. Everyone browsing the store — arguably where the icon matters most — still gets a placeholder.
Suggested addition: HACS already has the repository's git tree.
validate/brands.pychecks forbrand/icon.pngatbrand/or{content.path.remote}/brand/, so the validator already accepts local brand assets while the dashboard ignores them. The same path can be pulled fromraw.githubusercontent.comand served by HACS.I have an implementation against 2.0.5: a view at
/api/hacs/brand/{repository_id}/{image}resolving in three steps —Integration.has_brandingis acached_propertyover_top_level_files, so a newly downloaded integration otherwise shows a placeholder until the next restart);brand/directory from the git tree, with hit and miss caching to stay clear of rate limits;brandscomponent isn't loaded, so pre-2026.3 cores keep working.The URL is signed with
async_sign_path, which means an<img>tag works without the panel needing the brands access token, and it's exposed asbrand_url/dark_brand_urlonhacs/repositories/listandhacs/repository/info. The frontend change then reduces torepository.brand_url || brandsUrl(...).Separately,
custom_components/hacs/update.pyhardcodeshttps://brands.home-assistant.io/_/{domain}/icon.pnginentity_picture, so update entities have the same problem independent of the frontend.Happy to open PRs against both repos if that's useful. Fair warning on the state of it: built and syntax-checked against 2.0.5, but not yet run in a production instance. And it only helps once a frontend bundle ships — the last published one is
20250128065759, as noted above.6 remaining items
Move brand images into custom_components/ha_calendar_admin/brand/
Ship the brand icon inside the integration
Add bundled brand icon (icon.png, [email protected])
Bundle brand icon, sync README fixes, add a level sensor (#1)
Raise the minimum Home Assistant version to 2026.3
Say why HACS shows a grey box
info.md: eigenständiges HACS-Readme für die Integration
Document HACS-dashboard-icon limitation as an upstream bug
Replace the icon/logo with the new look's ember/gold stellar-core mark
Ship brand icons at the spec-required sizes
Add an inline brand icon (no home-assistant/brands PR needed)
README: note the HACS placeholder icon as a known issue
frenck commentedon Oct 16, 2026
Thanks for reporting this.
HACS is moving into Home Assistant as the Marketplace integration (see #5590). This is fixed in Marketplace, which ships with Home Assistant 2026.11. If you still run into it after upgrading, check the open Marketplace issues and open a new one in home-assistant/core.
Closing this one.
../Frenck
Blogging my personal ramblings at frenck.dev