5 Commits
Author SHA1 Message Date
rick 27764b5d75 Merge agent/add-oktoberfest-keg-art: Oktoberfestbier keg artwork, v0.4.5 2026-11-07 12:37:16 +01:00
rickandCursor a79173a160 Keg artwork for Löwenbräu and Spaten Oktoberfestbier; version 0.4.5
Both entries were mapped by kegId (29745, 33918) but had no imagePath, so the card drew the generated silhouette. Images come from the PerfectDraft DE storefront, encoded to WebP like the existing art (800 px and the native 700 px). The reference snapshot is re-synced to integration commit 1598e7b0, which spells 29745 as Löwenbräu Oktoberfestbier. Issue #8 on the integration repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:35:16 +01:00
rick e56f27a49a Merge agent/add-keg-48180: Camden Stout (48180) with keg artwork, v0.4.4 2026-11-07 12:23:57 +01:00
rickandCursor 73a814e266 Version 0.4.4, in step with the integration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:12:44 +01:00
47ecbe1880 Add Camden Stout (48180) with keg artwork; release 0.4.3
Maps integration product ID 48180 to a camden-stout entry next to the
other Camden rows. Artwork is taken unchanged from card PR #2; ABV 4.0%
checked against Camden Town Brewery's own PerfectDraft listing. The
reference snapshot is re-synced to the integration commit that adds the
key (8b2c4418), and the stale lockfile is regenerated.

Co-authored-by: MThomas564 <mattraethomas97@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:08:48 +01:00
13 changed files with 15 additions and 13 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+3 -3
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "perfectdraft-card",
"version": "0.3.1",
"version": "0.4.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "perfectdraft-card",
"version": "0.3.1",
"version": "0.4.5",
"license": "UNLICENSED",
"dependencies": {
"custom-card-helpers": "^1.9.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "perfectdraft-card",
"version": "0.4.2",
"version": "0.4.5",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
+4 -3
View File
@@ -1,6 +1,6 @@
{
"_source": "https://github.com/Falkvinge/hassio-integration-perfectdraft-pro/blob/main/custom_components/perfectdraft/keg_catalog.json",
"_upstreamCommit": "3b82df6e",
"_upstreamCommit": "1598e7b0",
"_note": "Reference snapshot for npm run check:catalog. Not used at runtime. Re-sync when the integration catalog changes.",
"kegs": {
"452": "Beck's Gold",
@@ -25,7 +25,7 @@
"2565": "Hoegaarden Rose",
"3550": "Leffe Winter",
"9156": "Leffe Royal Cascade",
"29745": "Lowenbrau Oktoberfestbier",
"29745": "Löwenbräu Oktoberfestbier",
"29775": "Goose Island Midway",
"29896": "Kwak",
"29974": "Spaten",
@@ -118,6 +118,7 @@
"48024": "Siren Lumina IPA",
"48050": "Anheuser-Busch Bud",
"48061": "Northern Monk Faith",
"48134": "Kopparberg Crisp Apple"
"48134": "Kopparberg Crisp Apple",
"48180": "Camden Stout"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+3 -2
View File
@@ -104,8 +104,8 @@ const CATALOG: BeerEntry[] = [
{ slug: "haake-beck", name: "Haake-Beck", brewery: "Brauerei Beck & Co", style: "German Pilsner", abv: 4.9, colors: { primary: "#006838", secondary: "#E0F5E8", text: "#FFFFFF" }, imagePath: kegImage("haake-beck"), kegId: "47144" },
{ slug: "fruh-kolsch", name: "Früh Kölsch", brewery: "Cölner Hofbräu Früh", style: "Kölsch", abv: 4.8, colors: { primary: "#C8102E", secondary: "#FFF0F0", text: "#FFFFFF" }, imagePath: kegImage("fruh-kolsch"), kegId: "47977" },
{ slug: "lowenbrau-oktoberfest", name: "Löwenbräu Oktoberfestbier", brewery: "Löwenbräu", style: "Märzen", abv: 6.1, colors: { primary: "#003DA5", secondary: "#E8F0FF", text: "#F5C242" }, kegId: "29745" },
{ slug: "spaten-oktoberfest", name: "Spaten Oktoberfestbier", brewery: "Spaten-Franziskaner-Bräu", style: "Märzen", abv: 5.9, colors: { primary: "#A8641E", secondary: "#FFF2E0", text: "#FFFFFF" }, kegId: "33918" },
{ slug: "lowenbrau-oktoberfest", name: "Löwenbräu Oktoberfestbier", brewery: "Löwenbräu", style: "Märzen", abv: 6.1, colors: { primary: "#003DA5", secondary: "#E8F0FF", text: "#F5C242" }, imagePath: kegImage("lowenbrau-oktoberfest"), kegId: "29745" },
{ slug: "spaten-oktoberfest", name: "Spaten Oktoberfestbier", brewery: "Spaten-Franziskaner-Bräu", style: "Märzen", abv: 5.9, colors: { primary: "#A8641E", secondary: "#FFF2E0", text: "#FFFFFF" }, imagePath: kegImage("spaten-oktoberfest"), kegId: "33918" },
// === CRAFT & IPA ===
{ slug: "goose-island-ipa", name: "Goose Island IPA", brewery: "Goose Island", style: "India Pale Ale", abv: 5.9, colors: { primary: "#D45500", secondary: "#FFF2E5", text: "#FFFFFF" }, imagePath: kegImage("goose-island-ipa"), kegId: "32816" },
@@ -118,6 +118,7 @@ const CATALOG: BeerEntry[] = [
{ slug: "camden-ipa", name: "Camden IPA", brewery: "Camden Town Brewery", style: "India Pale Ale", abv: 5.8, colors: { primary: "#2E8B57", secondary: "#E5F5EC", text: "#FFFFFF" }, imagePath: kegImage("camden-ipa"), kegId: "44425" },
{ slug: "camden-eazy", name: "Camden Eazy", brewery: "Camden Town Brewery", style: "Session Pale", abv: 4.0, colors: { primary: "#F5C242", secondary: "#FFFCE5", text: "#000000" }, imagePath: kegImage("camden-eazy"), kegId: "47629" },
{ slug: "camden-eazy-47792", name: "Camden Eazy", brewery: "Camden Town Brewery", style: "Session Pale", abv: 4.0, colors: { primary: "#F5C242", secondary: "#FFFCE5", text: "#000000" }, imagePath: kegImage("camden-eazy"), kegId: "47792" },
{ slug: "camden-stout", name: "Camden Stout", brewery: "Camden Town Brewery", style: "Stout", abv: 4.0, colors: { primary: "#1A0F0A", secondary: "#F2E6D8", text: "#F5C242" }, imagePath: kegImage("camden-stout"), kegId: "48180" },
{ slug: "tiny-rebel-clwb", name: "Tiny Rebel Clwb Tropicana", brewery: "Tiny Rebel", style: "Tropical IPA", abv: 5.5, colors: { primary: "#FF3399", secondary: "#FFE5F2", text: "#1A1A1A" }, imagePath: kegImage("tiny-rebel-clwb"), kegId: "33917" },
{ slug: "vocation-life-death", name: "Vocation Life & Death", brewery: "Vocation Brewery", style: "India Pale Ale", abv: 6.5, colors: { primary: "#1A1A1A", secondary: "#F0F0F0", text: "#D4001A" }, imagePath: kegImage("vocation-life-death"), kegId: "42526" },
{ slug: "vocation-hop-skip", name: "Vocation Hop, Skip & Juice", brewery: "Vocation Brewery", style: "Pale Ale", abv: 5.7, colors: { primary: "#F5A623", secondary: "#FFFAE5", text: "#1A1A1A" }, imagePath: kegImage("vocation-hop-skip") },
+1 -1
View File
@@ -5,7 +5,7 @@ import type { PerfectDraftCardConfig } from "./types.js";
import { GLASS_SIZES, DEFAULT_GLASS_SIZE, DOMAIN, LAYOUTS, DEFAULT_LAYOUT } from "./const.js";
import { getAllBeers, getBeerByKegId } from "./beer-catalog.js";
const EDITOR_VERSION = "0.4.2";
const EDITOR_VERSION = "0.4.5";
interface DiscoveredDevice {
deviceId: string;
+1 -1
View File
@@ -21,7 +21,7 @@ import {
} from "./beer-catalog.js";
import "./editor.js";
const CARD_VERSION = "0.4.2";
const CARD_VERSION = "0.4.5";
const NO_KEG_LABEL = "No keg detected";