Repository navigation
Add brand icon and logo - #198
Merged
Merged
Conversation
Since Home Assistant 2026.3, a custom integration can ship its own brand images in a brand/ folder, without a PR to home-assistant/brands. Without them, HACS and the Integrations page show "icon not available". Both images are the artwork of the feedparser Python library this integration uses (BSD 2-clause, attributed in the README): - icon.png: the library's logo, padded to square and scaled to 256x256 - logo.png: the library's 800x208 banner, unchanged Fixes #191 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FvqVzfJq7yZSkZfSyG3YHT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #191.
Since Home Assistant 2026.3, a custom integration can ship its own brand images in
custom_components/<domain>/brand/, without a PR to home-assistant/brands. Without them, HACS and the Integrations page show "icon not available".Images
Both images are the artwork of the feedparser Python library this integration is built on, taken from its
docs/_static/:brand/icon.pnglogo.png(200×171), centered on a transparent square and scaled to 256×256brand/logo.pngbanner.png, unchangedThey meet the brands image spec: PNG with transparency, already trimmed, square 256×256 icon, landscape logo with its shortest side (208 px) between 128 and 256. The artwork has an opaque white "sticker" background inside transparent rounded corners, so it stays readable on dark themes. I didn't add
dark_variants.No
@2xversions. The library only publishes these small PNGs, and I couldn't find an SVG source. A 512×512 icon or a logo with a 256+ px shortest side would mean upscaling 2.5× or more, which blurs the line art. The@2xfiles are optional. If a vector source turns up, they can be added later.Logo text: the banner's tagline says "Parse RSS / Atom / JSON feeds in Python", which describes the library rather than this integration. It's the logo as published. Say if you'd rather use a version without the tagline.
Licensing
The library is BSD 2-clause. The README now has a line crediting the artwork to the library and Kurt McKee under that license.
Compatibility
hacs.jsonstill allows Home Assistant 2025.8. Releases before 2026.3 ignore thebrand/folder. The release zip packs all ofcustom_components/feedparser, so the images ship with it.Generated by Claude Code