2 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
11 changed files with 12 additions and 12 deletions
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.4.4",
"version": "0.4.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "perfectdraft-card",
"version": "0.4.4",
"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.4",
"version": "0.4.5",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"_source": "https://github.com/Falkvinge/hassio-integration-perfectdraft-pro/blob/main/custom_components/perfectdraft/keg_catalog.json",
"_upstreamCommit": "8b2c4418",
"_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",
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+2 -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" },
+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.4";
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.4";
const CARD_VERSION = "0.4.5";
const NO_KEG_LABEL = "No keg detected";