3 Commits
Author SHA1 Message Date
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
9 changed files with 12 additions and 10 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 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.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "perfectdraft-card",
"version": "0.3.1",
"version": "0.4.4",
"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.4",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
+3 -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": "3b82df6e",
"_upstreamCommit": "8b2c4418",
"_note": "Reference snapshot for npm run check:catalog. Not used at runtime. Re-sync when the integration catalog changes.",
"kegs": {
"452": "Beck's Gold",
@@ -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

+1
View File
@@ -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.4";
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.4";
const NO_KEG_LABEL = "No keg detected";