Skip to content

ci: make Validate green (lovelace after_dependency, in-repo brand assets, pinned hassfest/HACS) - #4

Merged
jensteblick merged 2 commits into
mainfrom
ci/hassfest-hacs-green
Aug 30, 2026
Merged

jensteblick merged 2 commits into
mainfrom
ci/hassfest-hacs-green

Conversation

@jensteblick

Copy link
Copy Markdown
Contributor

Why

validate.yml has been red since July on two checks we never fixed:

  1. hassfest [DEPENDENCIES] Using component lovelace but it's not in 'dependencies' or 'after_dependencies'dashboard.py lazily imports homeassistant.components.lovelace and reads hass.data[LOVELACE_DATA].
  2. HACS brands — the integration is neither in home-assistant/brands nor ships its own brand assets.

What

  • manifest.json: "after_dependencies": ["lovelace"] (soft: the dashboard is optional and already degrades to a warning when lovelace is not loaded). Keys kept in hassfest sort order.
  • custom_components/veton/brand/{icon,icon@2x,logo,logo@2x}.png — rendered from the vector marks (veton-icon.svg, veton-logo-accent.svg): icon 256²/512², logo short side 128/256, RGBA transparent, brand gold #BD9A5F. HACS checks for in-repo brand/icon.png first; HA 2026.3+ serves these via the Brands Proxy API. home-assistant/brands no longer accepts custom-integration PRs (see their PR template), so this is the only route — no upstream PR needed.
  • validate.yml: pinned actions/checkout (v4.4.0 SHA, same as ci.yml), home-assistant/actions/hassfest@master and hacs/action@main to today's commit SHAs. Caveat: hacs/action's action.yml runs docker://ghcr.io/hacs/action:main, so the image itself still floats.

No ignore: brands needed — the check passes on our own assets.

🤖 Generated with Claude Code

https://claude.ai/code/session_0161NYdEAK1p8DYcnwnnmJdd

…assets, pin hassfest/hacs

- manifest.json: after_dependencies: ["lovelace"] — dashboard.py imports
  homeassistant.components.lovelace lazily and reads hass.data[LOVELACE_DATA];
  hassfest DEPENDENCIES check failed on it since July. after_ (not hard)
  dependency: the dashboard is optional and degrades to a warning when
  lovelace is absent.
- custom_components/veton/brand/{icon,icon@2x,logo,logo@2x}.png rendered
  from the vector marks (icon 256/512 square, logo 128/256 short side, all
  RGBA transparent, gold #BD9A5F). HACS' brands check accepts in-repo assets
  first; home-assistant/brands no longer accepts custom-integration PRs
  (Brands Proxy API, HA 2026.3+ serves these files locally).
- validate.yml: pin actions/checkout to the v4.4.0 SHA already used by ci.yml,
  home-assistant/actions/hassfest@master and hacs/action@main to today's
  commit SHAs (note: hacs/action's docker image tag still floats on :main).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161NYdEAK1p8DYcnwnnmJdd
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

…ue_tracker)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161NYdEAK1p8DYcnwnnmJdd
@jensteblick
jensteblick merged commit 34e678d into main Aug 30, 2026
6 checks passed
@jensteblick
jensteblick deleted the ci/hassfest-hacs-green branch August 30, 2026 07:09
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