Skip to content

Dartec icon and logo for the integration in Home Assistant - #41

Merged
kaboomAE merged 1 commit into
mainfrom
feature/brand-images
Sep 22, 2026
Merged

kaboomAE merged 1 commit into
mainfrom
feature/brand-images

Conversation

@kaboomAE

Copy link
Copy Markdown
Owner

The integration showed Home Assistant's icon not available placeholder everywhere a customer sees it. It now shows the Dartec mark.

What controls the icon

The images

icon.png / dark_icon.png (256, and 512 as @2x) are the mark; logo.png / dark_logo.png (128 tall, and 256 as @2x) the lockup, on transparent in the brand's fixed light and dark colours. Rendered by scripts/brand/build-icons.mjs in the onboarding repository from the brand's own SVGs, with the wordmark in embedded IBM Plex.

Proof, in a real Home Assistant 2026.9.2

From the live test's container (run_live.py 2026.9.2 --keep), signed in as its livetest user the way household_screenshots.py does. The Dartec live-test canary beside it has no brand folder and shows the placeholder customers saw until now.

Light Dark

The live test now also asks HA for each of the eight images through the brands proxy and compares the bytes with the repository's file (skipped below 2026.3). Locally: brand images served by Home Assistant: ok, passed in 81s.

Not in this PR

  • No version bump or release: homes get the icon with the next agent release, which needs the owner's OK.
  • The brands ignore in the HACS validation stays; its comment now says why.

🤖 Generated with Claude Code

Home Assistant 2026.3 and later reads custom_components/<domain>/brand/
ahead of the brands CDN, so the integration now shows the Dartec mark
instead of a placeholder. Light and dark variants at 1x and 2x, at the
brands repository's sizes.

The live test asks Home Assistant for each image through its brands
proxy and compares it with the repository's file. HACS still shows a
blank icon until it reads local brand images (hacs/integration#5171).
@kaboomAE
kaboomAE merged commit 33ad457 into main Sep 22, 2026
26 checks passed
@kaboomAE
kaboomAE deleted the feature/brand-images branch September 22, 2026 03:40
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.

1 participant