3 Commits
Author SHA1 Message Date
rick 8a6cce3c9e Add dist/ to repo for HACS compatibility
HACS plugin repos need the built JS and assets accessible on the
default branch. Un-ignored dist/ and committed build output:
- dist/perfectdraft-card.js (51KB)
- dist/kegs/*.png (72 keg product images)

Made-with: Cursor
2026-04-18 18:40:13 +02:00
rick 58733653dd Implement PerfectDraft custom card v0.1.0
Full Lovelace card implementation:
- Two-zone layout (beer label left, emoji pictogram right)
- 45-beer catalog with brand color palettes
- Glass size selection dialog (250/330/500/UK pint/US pint)
- Beer selection dialog with search filtering
- Freshness warning system (CSS-only animations, 4 tiers)
- Empty keg disaster scene
- Visual card editor with device auto-discovery
- HACS-compatible packaging (hacs.json, README, dist/ output)
- 44KB bundle, under 50KB budget

Made-with: Cursor
2026-04-18 18:19:09 +02:00
rick faca00f4ab Initial commit: OpenSpec proposal for PerfectDraft custom card
Spec-driven change `perfectdraft-card` with proposal, design, 7 capability
specs (card-core, beer-catalog, keg-display, beer-label, freshness-warning,
card-config, hacs-packaging), and 57 implementation tasks.

Custom Lovelace card for the PerfectDraft Pro HA integration, optimised
for Sonoff NSPanel Pro 120 in landscape mode.

Made-with: Cursor
2026-04-18 18:01:48 +02:00