@@ -50,7 +50,7 @@ function e(e,t,r,s){var i,a=arguments.length,o=a<3?t:null===s?s=Object.getOwnPro
`:K}
`}render(){return this.hass?j`
-
PerfectDraft Card Editor v${"0.4.1"} · ${this._devices.length} device(s) found
+
PerfectDraft Card Editor v${"0.4.2"} · ${this._devices.length} device(s) found
${0===this._devices.length?j`
No PerfectDraft devices found. Please install and configure the PerfectDraft integration first.
`:j`
@@ -844,4 +844,4 @@ function e(e,t,r,s){var i,a=arguments.length,o=a<3?t:null===s?s=Object.getOwnPro
padding: 16px;
color: var(--error-color, #db4437);
}
- `}};e([ge({attribute:!1})],Me.prototype,"hass",void 0),e([pe()],Me.prototype,"_config",void 0),e([pe()],Me.prototype,"_beer",void 0),e([pe()],Me.prototype,"_glassSize",void 0),e([pe()],Me.prototype,"_layout",void 0),e([pe()],Me.prototype,"_matrixColumns",void 0),e([pe()],Me.prototype,"_maxMatrixWidth",void 0),e([pe()],Me.prototype,"_showGlassDialog",void 0),e([pe()],Me.prototype,"_failedImages",void 0),e([pe()],Me.prototype,"_overrideActive",void 0),e([pe()],Me.prototype,"_detectedName",void 0),Me=e([de("perfectdraft-card")],Me),window.customCards=window.customCards||[],window.customCards.push({type:"perfectdraft-card",name:"PerfectDraft Card",description:"Display PerfectDraft Pro keg status with beer emojis",preview:!0,documentationURL:"https://github.com/Falkvinge/hassio-component-perfectdraft-pro"}),console.info("%c PERFECTDRAFT-CARD %c v0.4.1 ","background: #f5a623; color: #000; font-weight: bold;","background: #333; color: #f5a623;");export{Me as PerfectDraftCard};
+ `}};e([ge({attribute:!1})],Me.prototype,"hass",void 0),e([pe()],Me.prototype,"_config",void 0),e([pe()],Me.prototype,"_beer",void 0),e([pe()],Me.prototype,"_glassSize",void 0),e([pe()],Me.prototype,"_layout",void 0),e([pe()],Me.prototype,"_matrixColumns",void 0),e([pe()],Me.prototype,"_maxMatrixWidth",void 0),e([pe()],Me.prototype,"_showGlassDialog",void 0),e([pe()],Me.prototype,"_failedImages",void 0),e([pe()],Me.prototype,"_overrideActive",void 0),e([pe()],Me.prototype,"_detectedName",void 0),Me=e([de("perfectdraft-card")],Me),window.customCards=window.customCards||[],window.customCards.push({type:"perfectdraft-card",name:"PerfectDraft Card",description:"Display PerfectDraft Pro keg status with beer emojis",preview:!0,documentationURL:"https://github.com/Falkvinge/hassio-component-perfectdraft-pro"}),console.info("%c PERFECTDRAFT-CARD %c v0.4.2 ","background: #f5a623; color: #000; font-weight: bold;","background: #333; color: #f5a623;");export{Me as PerfectDraftCard};
diff --git a/package.json b/package.json
index 812f472..2efcbe1 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "perfectdraft-card",
- "version": "0.4.1",
+ "version": "0.4.2",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
diff --git a/scripts/keg-catalog.reference.json b/scripts/keg-catalog.reference.json
index 3b71c75..4264c5e 100644
--- a/scripts/keg-catalog.reference.json
+++ b/scripts/keg-catalog.reference.json
@@ -1,6 +1,6 @@
{
"_source": "https://github.com/Falkvinge/hassio-integration-perfectdraft-pro/blob/main/custom_components/perfectdraft/keg_catalog.json",
- "_upstreamCommit": "fc8a25c4",
+ "_upstreamCommit": "3b82df6e",
"_note": "Reference snapshot for npm run check:catalog. Not used at runtime. Re-sync when the integration catalog changes.",
"kegs": {
"452": "Beck's Gold",
@@ -101,6 +101,7 @@
"47523": "Anosteké Blonde",
"47629": "Camden Eazy IPA",
"47774": "Old Speckled Hen",
+ "47792": "Camden Eazy",
"47816": "Corona Ligera",
"47943": "Fuller's London Pride",
"47962": "Bass Pale Ale",
diff --git a/src/beer-catalog.ts b/src/beer-catalog.ts
index 5f5eacc..e521826 100644
--- a/src/beer-catalog.ts
+++ b/src/beer-catalog.ts
@@ -117,6 +117,7 @@ const CATALOG: BeerEntry[] = [
{ slug: "camden-pale", name: "Camden Pale Ale", brewery: "Camden Town Brewery", style: "Pale Ale", abv: 4.0, colors: { primary: "#E87D00", secondary: "#FFF5E5", text: "#000000" }, imagePath: kegImage("camden-pale"), kegId: "43805" },
{ 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: "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") },
diff --git a/src/editor.ts b/src/editor.ts
index 3d5e527..0b8b35e 100644
--- a/src/editor.ts
+++ b/src/editor.ts
@@ -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.1";
+const EDITOR_VERSION = "0.4.2";
interface DiscoveredDevice {
deviceId: string;
diff --git a/src/perfectdraft-card.ts b/src/perfectdraft-card.ts
index 9b71eb5..0d8ba73 100644
--- a/src/perfectdraft-card.ts
+++ b/src/perfectdraft-card.ts
@@ -21,7 +21,7 @@ import {
} from "./beer-catalog.js";
import "./editor.js";
-const CARD_VERSION = "0.4.1";
+const CARD_VERSION = "0.4.2";
const NO_KEG_LABEL = "No keg detected";