Map keg 48050 to the existing Anheuser-Busch Bud catalog entry
The card already had the DE/AT wrap and artwork; the integration now reports that product ID, so the join can complete. Bump to 0.4.1. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "perfectdraft-card",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.1",
|
||||
"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": "3c4b9ca6",
|
||||
"_upstreamCommit": "fc8a25c4",
|
||||
"_note": "Reference snapshot for npm run check:catalog. Not used at runtime. Re-sync when the integration catalog changes.",
|
||||
"kegs": {
|
||||
"452": "Beck's Gold",
|
||||
@@ -115,7 +115,8 @@
|
||||
"47999": "Thatchers Gold Cider",
|
||||
"48019": "Leffe Blonde 0.0%",
|
||||
"48024": "Siren Lumina IPA",
|
||||
"48050": "Anheuser-Busch Bud",
|
||||
"48061": "Northern Monk Faith",
|
||||
"48134": "Kopparberg Crisp Apple"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ const CATALOG: BeerEntry[] = [
|
||||
|
||||
// === LAGERS & PILSNERS ===
|
||||
{ slug: "budweiser", name: "Budweiser", brewery: "Anheuser-Busch", style: "American Lager", abv: 5.0, colors: { primary: "#C8102E", secondary: "#FFF0F0", text: "#FFFFFF" }, kegId: "31747" },
|
||||
{ slug: "bud", name: "Anheuser-Busch Bud", brewery: "Anheuser-Busch", style: "American Lager", abv: 5.0, colors: { primary: "#C8102E", secondary: "#FFF0F0", text: "#FFFFFF" }, imagePath: kegImage("bud") },
|
||||
{ slug: "bud", name: "Anheuser-Busch Bud", brewery: "Anheuser-Busch", style: "American Lager", abv: 5.0, colors: { primary: "#C8102E", secondary: "#FFF0F0", text: "#FFFFFF" }, imagePath: kegImage("bud"), kegId: "48050" },
|
||||
{ slug: "bud-light", name: "Bud Light", brewery: "Anheuser-Busch", style: "Light Lager", abv: 3.5, colors: { primary: "#004B8D", secondary: "#E8F4FF", text: "#FFFFFF" }, imagePath: kegImage("bud-light"), kegId: "42377" },
|
||||
{ slug: "corona", name: "Corona Extra", brewery: "Grupo Modelo", style: "Mexican Lager", abv: 4.5, colors: { primary: "#FDB913", secondary: "#FFFCE5", text: "#00205B" }, imagePath: kegImage("corona"), kegId: "34493" },
|
||||
{ slug: "corona-cero", name: "Corona Cero", brewery: "Grupo Modelo", style: "Non-Alcoholic Lager", abv: 0.0, colors: { primary: "#0073B1", secondary: "#E5F3FF", text: "#FFFFFF" }, imagePath: kegImage("corona-cero"), kegId: "43235" },
|
||||
|
||||
+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.0";
|
||||
const EDITOR_VERSION = "0.4.1";
|
||||
|
||||
interface DiscoveredDevice {
|
||||
deviceId: string;
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
} from "./beer-catalog.js";
|
||||
import "./editor.js";
|
||||
|
||||
const CARD_VERSION = "0.4.0";
|
||||
const CARD_VERSION = "0.4.1";
|
||||
|
||||
const NO_KEG_LABEL = "No keg detected";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user