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>
This commit is contained in:
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Generated
+2
-2
@@ -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
@@ -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",
|
||||
|
||||
@@ -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
@@ -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
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user