Skip to content

Releases: Falkvinge/hassio-component-perfectdraft-pro

v0.2.0 — Layouts & richer imagery

Choose a tag to compare

@Falkvinge Falkvinge released this 01 Jun 19:12

What's new in v0.2.0

Five layouts

Choose how the card displays via the new Layout option (visual editor, or layout: in YAML). Defaults to landscape, so existing cards are unchanged.

  • landscape – the original two-zone view (NSPanel Pro, wide cards)
  • portrait – stacked label over grid, for phones and narrow columns
  • compact – a single row with a remaining-beer bar, for dense dashboards
  • hero – full-bleed keg photo with status overlaid
  • vessel – a single glass that fills to show how much is left

Fits narrow cards

The emoji grid is now width-tolerant — it shrinks to fit instead of overflowing/cropping on narrow placements. New advanced options: matrix_columns (auto or a fixed count) and max_matrix_width.

Richer beer imagery

  • 16 new keg photos: BrewDog Punk IPA & Elvis Juice, Tiny Rebel Clwb Tropicana, Thornbridge Jaipur, Fuller's London Pride, Theakston Old Peculier, Peroni, Diebels, Haake-Beck, La Virgen, Stella Artois Unfiltered, Bud Light, Tennent's, Leffe Ambrée, Hertog Jan Grand, and Castelain Ch'ti. 68 catalog beers now have real keg shots.
  • Smart fallback: beers without a photo now render a brand-tinted keg silhouette with their initial, instead of a bare letter.
  • All keg images re-encoded to WebP — download size dropped from ~19 MB to ~2 MB.

Upgrade notes

No configuration changes required — landscape is the default and existing installs look identical. All new options are opt-in.

v0.1.6

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 18:32

What's New

  • 31 new real keg product images — most catalog beers now show their actual keg photo instead of a letter initial
  • 2 new beers: Castelain Ch'ti Blonde, Hertog Jan Grand Pilsener
  • Image load fallback: if a keg image fails to load, the card gracefully falls back to the styled letter initial instead of showing a broken image icon
  • Cleaned stale placeholders: removed 18 leftover placeholder images from dist

Image coverage

52 of 74 catalog beers now have real product images (up from 21 in v0.1.5).

Beers still without images

Diebels, Haake-Beck, and ~20 others remain on letter-initial fallback — images will be added as they become available.

v0.1.5

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:57
  • Removed 51 fake placeholder images (CDN JPEG disguised as PNG)
  • Replaced 8 originals with full-resolution versions (200-980KB each)
  • Found 13 additional real images via alternate CDN filenames
  • 21 beers now have real product keg photos
  • Beers without images fall back to brand color palette display
  • No more broken "Awaiting Image" placeholders

v0.1.4

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:46
  • Emoji grid now fills the entire keg zone vertically
  • Grid rows stretch with 1fr, each glass fills its cell
  • Emoji size bumped to min(7vw, 5em) — ~150% larger
  • 18 glasses at 330mL: 6×3 grid filling the full zone height

v0.1.3

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:35
  • Scale up all card elements for NSPanel Pro readability
  • Label zone narrowed to ~1/4 width, giving emojis 3/4 of the card
  • Emoji grid auto-scales with min(4.5vw, 3.5em)
  • Beer logo, temperature, beer name, count label all sized up

v0.1.2

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:08
  • Emoji grid: fixed CSS Grid layout with max-glass slots (e.g., 6×3 for 330mL). Empty slots shown as faded greyed-out emojis.
  • Added Leffe Noël as alias for Leffe Winter
  • Editor version marker now in sync with release tag

v0.1.1

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:01

Fix device discovery — use HA entity registry (platform field) instead of entity ID string matching.

Adds version marker to editor for debugging.

v0.1.0

Choose a tag to compare

@Falkvinge Falkvinge released this 18 Apr 17:00

Initial release of the PerfectDraft Card for Home Assistant.

Includes registry-based device discovery fix (v0.1.0-b2).