Skip to content

fix: correct HACS My-button category (frontend -> plugin) - #22

Open
chriguschneider wants to merge 1 commit into
mainfrom
fix/hacs-button-category
Open

fix: correct HACS My-button category (frontend -> plugin)#22
chriguschneider wants to merge 1 commit into
mainfrom
fix/hacs-button-category

Conversation

@chriguschneider

Copy link
Copy Markdown
Owner

@

Problem

The README "Open HACS repository" button used category=frontend. HACS rejects that ("frontend is not a valid category for chriguschneider/pool-card"), so clicking the button added nothing — the card never appeared. Confirmed in the HA log.

Fix

Use the correct internal category for a Lovelace card: plugin.

Verified live in HACS

  • Repo adds without "not found"
  • Downloads v0.1.0 to /config/www/community/pool-card
  • Dashboard resource auto-registered: /hacsfiles/pool-card/pool-card.js
  • Card loads after reload (pool-card v0.1.0), registered in the card picker

🤖 Generated with Claude Code
@

fix: correct HACS My-button category to plugin

The README "Open HACS repository" button used category=frontend, which
HACS rejects ("frontend is not a valid category"), so adding the repo
failed silently. The correct internal category for a Lovelace card is
"plugin". Verified live: repo adds, downloads to
/config/www/community/pool-card, registers the dashboard resource, and
the card loads (pool-card v0.1.0).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@
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