9 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
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
rickandCursor 788ae28c44 Map keg 47792 to Camden Eazy, reusing the existing keg artwork.
Product 47629 stays on the original Camden Eazy entry. The new row shares that graphic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 07:16:34 +02:00
rickandCursor 203d0fd228 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>
2026-09-17 12:42:55 +02:00
rick 542c7599ab Merge branch 'chore/archive-scoped-beer-override' — archive v0.4.0 change, sync specs 2026-09-16 14:24:03 +02:00
rickandCursor d43f1d675d Archive scoped-beer-override and sync its specs
Applies the change's delta specs to the main specs and files the change
under openspec/changes/archive/2026-09-16-scoped-beer-override.

keg-auto-detection gains the scoped-override and override-visibility
requirements, and its detection precedence is rewritten so no config
value can precede detection except by matching the reported product ID.
card-config drops the beer_name override requirement in favour of the
beer_overrides map, and records beer_name alongside beer_entity as an
ignored legacy key.

Also corrects three stale beer_name references in beer-catalog and
beer-label. The proposal's capability list missed those two specs; the
substance of their requirements is unchanged, only the key name they
name, so this is a naming correction rather than a requirement change.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 14:23:58 +02:00
23 changed files with 118 additions and 45 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

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
@@ -28,11 +28,11 @@ The card SHALL include static logo images for beers in the built-in catalog.
- **THEN** the card SHALL display the beer's brand color palette as the visual background instead of an image
### Requirement: Custom beer entries via configuration
The card SHALL support user-defined beer entries that extend or override the built-in catalog, reachable through the `beer_name` override.
The card SHALL support user-defined beer entries that extend or override the built-in catalog, reachable through a `beer_overrides` entry.
#### Scenario: Custom beer defined in config
- **WHEN** the card config includes a `custom_beers` array with entries containing at minimum a `name` field
- **THEN** those beers SHALL be resolvable by the `beer_name` override alongside built-in entries
- **THEN** those beers SHALL be resolvable by a `beer_overrides` entry alongside built-in entries
- **THEN** custom entries SHALL support optional fields: `color_primary`, `color_secondary`, `color_text`, `image_url`, `brewery`, `style`, `abv`
#### Scenario: Custom beer overrides built-in
+1 -1
View File
@@ -31,7 +31,7 @@ The card SHALL display the current beer temperature prominently in the left zone
The card SHALL display the detected beer's name in the label zone below the temperature, using the card's own curated name where it has one.
#### Scenario: Beer detected
- **WHEN** a beer has been determined by detection or by the `beer_name` override
- **WHEN** a beer has been determined by detection or by a `beer_overrides` entry
- **THEN** the card SHALL display that beer's full name as text in the label zone
#### Scenario: Detected by product ID
+41 -22
View File
@@ -50,14 +50,20 @@ The card SHALL validate its configuration and display clear errors for invalid c
- **WHEN** the card config specifies a `glass_size` that is not one of the supported values (250, 330, 500, 568, 473)
- **THEN** the card SHALL fall back to the default of 330 mL
#### Scenario: Unknown beer_name override
- **WHEN** the card config specifies a `beer_name` that does not match any beer in the catalog (built-in or custom)
#### Scenario: Unknown beer name in an override entry
- **WHEN** a `beer_overrides` entry whose key matches the reported product ID names a beer that matches nothing in the catalog (built-in or custom)
- **THEN** the card SHALL treat it as a custom beer with that name and use a generic color palette
- **THEN** the card SHALL NOT fall back to auto-detection, since an explicit override signals the user's intent
- **THEN** the card SHALL NOT fall back to auto-detection, since a matching override signals the user's intent
#### Scenario: Override entry with a malformed key
- **WHEN** a `beer_overrides` key does not correspond to any product ID the machine reports
- **THEN** the card SHALL ignore that entry without throwing
- **THEN** the card SHALL resolve the beer by detection
#### Scenario: Removed configuration keys ignored
- **WHEN** the card config contains `beer_entity`, which is no longer supported
- **THEN** the card SHALL ignore it without throwing
- **WHEN** the card config contains `beer_entity` or `beer_name`, neither of which is supported
- **THEN** the card SHALL ignore them without throwing
- **THEN** the card SHALL resolve the beer by detection as though the key were absent
### Requirement: Visual card editor
The card SHALL provide a graphical configuration editor as the primary means of configuration.
@@ -69,9 +75,10 @@ The card SHALL provide a graphical configuration editor as the primary means of
#### Scenario: Editor fields
- **WHEN** the visual editor is displayed
- **THEN** it SHALL provide: a device picker (dropdown of discovered PerfectDraft devices), glass size (dropdown of five options), layout selection, and an optional beer override
- **THEN** all fields SHALL be UI controls — no freeform text input for entity IDs
- **THEN** it SHALL provide: a device picker (dropdown of discovered PerfectDraft devices), glass size (dropdown of five options), layout selection, and a correction control scoped to the currently detected keg
- **THEN** all fields SHALL be UI controls — no freeform text input for entity IDs or product IDs
- **THEN** the editor SHALL NOT present beer selection as a required or default setting
- **THEN** the editor SHALL NOT offer a beer setting that applies regardless of which keg is tapped
#### Scenario: Editor fires config-changed events
- **WHEN** the user changes any editor field
@@ -79,15 +86,15 @@ The card SHALL provide a graphical configuration editor as the primary means of
- **THEN** the card preview SHALL update to reflect the change
### Requirement: Custom beers configuration
The card SHALL support extending the beer catalog via the `custom_beers` config array, reachable through the `beer_name` override.
The card SHALL support extending the beer catalog via the `custom_beers` config array, reachable through a `beer_overrides` entry.
#### Scenario: Custom beer entry structure
- **WHEN** a `custom_beers` array entry is provided in config
- **THEN** it SHALL require at minimum a `name` field (string)
- **THEN** it SHALL accept optional fields: `color_primary` (CSS color), `color_secondary` (CSS color), `color_text` (CSS color), `image_url` (URL string), `brewery` (string), `style` (string), `abv` (number)
#### Scenario: Custom beer selected by override
- **WHEN** `beer_name` matches the `name` of a `custom_beers` entry
#### Scenario: Custom beer selected by a matching override
- **WHEN** a `beer_overrides` entry matching the reported product ID names the same string as the `name` of a `custom_beers` entry
- **THEN** the card SHALL display that custom beer using its configured colors and image
### Requirement: YAML remains valid for power users
@@ -98,20 +105,32 @@ While not required, the YAML config SHALL remain a valid and complete representa
- **THEN** the resulting YAML SHALL contain all settings as readable key-value pairs
- **THEN** editing that YAML directly and saving SHALL produce the same card behaviour as the editor
### Requirement: Optional manual beer override
The card SHALL accept an optional `beer_name` config value that overrides auto-detection, so a user is never stuck with a wrong or unrecognised beer.
### Requirement: Keg-scoped beer overrides configuration
The card SHALL accept an optional `beer_overrides` config map, keyed by the product ID the integration reports, so a correction is bound to the keg it corrects.
#### Scenario: Override absent
- **WHEN** the card config has no `beer_name`
#### Scenario: Map shape
- **WHEN** a `beer_overrides` value is provided in config
- **THEN** each key SHALL be the product ID string as reported by the `keg_product_id` sensor
- **THEN** each value SHALL be a beer name resolvable against the catalog, a catalog slug, or the `name` of a `custom_beers` entry
#### Scenario: Overrides absent
- **WHEN** the card config has no `beer_overrides`
- **THEN** the card SHALL rely entirely on auto-detection
- **THEN** `getStubConfig()` SHALL NOT populate `beer_name`, so newly created cards start with detection only
- **THEN** `getStubConfig()` SHALL NOT populate `beer_overrides`, so newly created cards start with detection only
#### Scenario: Override set
- **WHEN** the card config sets `beer_name`
- **THEN** the card SHALL display the beer resolved from that value regardless of what the keg sensors report
#### Scenario: Entry recorded against the currently tapped keg
- **WHEN** the user corrects the detected beer from the visual editor
- **THEN** the editor SHALL write a single `beer_overrides` entry keyed by the product ID currently reported for the configured device
- **THEN** the editor SHALL NOT write an entry that is not keyed by a reported product ID
#### Scenario: Override presented as optional in the editor
- **WHEN** the visual editor is displayed
- **THEN** the beer override field SHALL be empty by default and SHALL be labelled as an override for when detection is wrong
- **THEN** clearing the field SHALL remove `beer_name` from the config and return the card to detection
#### Scenario: No product ID currently reported
- **WHEN** the visual editor is displayed AND the configured device reports no usable `keg_product_id` state
- **THEN** the correction control SHALL be shown in a disabled state with an explanation that a keg must be detected first
- **THEN** the editor SHALL NOT be prevented from displaying or removing existing entries
#### Scenario: Existing entries are reviewable and removable
- **WHEN** the visual editor is displayed AND `beer_overrides` contains entries
- **THEN** the editor SHALL list each entry with the product ID and the beer it names
- **THEN** the editor SHALL provide a control to remove an individual entry
- **THEN** removing the last entry SHALL remove `beer_overrides` from the config
+54 -5
View File
@@ -25,13 +25,18 @@ The card SHALL apply a single, defined precedence order when determining which b
#### Scenario: Precedence order
- **WHEN** the card determines the beer to display
- **THEN** it SHALL apply the first applicable source in this order: (1) the `beer_name` config override, (2) a catalog entry matched by reported product ID, (3) a beer resolved from the reported keg name, (4) the no-keg-detected state
- **THEN** it SHALL apply the first applicable source in this order: (1) a `beer_overrides` entry whose key matches the reported product ID, (2) a catalog entry matched by reported product ID, (3) a beer resolved from the reported keg name, (4) the no-keg-detected state
- **THEN** no later source SHALL override an earlier one
#### Scenario: Override wins over successful detection
- **WHEN** `beer_name` is set in config AND the product ID resolves to a different catalog entry
- **THEN** the card SHALL display the beer named by `beer_name`
- **THEN** the card SHALL NOT silently substitute the detected beer
#### Scenario: Matching override wins over successful detection
- **WHEN** a `beer_overrides` entry matches the reported product ID AND that same product ID also resolves to a different catalog entry
- **THEN** the card SHALL display the beer named by the override entry
- **THEN** the card SHALL indicate that an override is in effect rather than substituting silently
#### Scenario: No configured value can precede detection unconditionally
- **WHEN** the card determines the beer to display
- **THEN** no config value SHALL take precedence over detection except by matching the currently reported product ID
- **THEN** a config value that names a beer without reference to a product ID SHALL NOT affect the displayed beer
### Requirement: Curated name preferred for the label
When the card recognises the reported product ID, it SHALL use its own catalog name for display rather than the name reported by the integration.
@@ -91,3 +96,47 @@ The card SHALL continue attempting entity resolution until the expected sensors
- **THEN** the card SHALL resolve entities afresh for the newly configured device
- **THEN** the card SHALL NOT display values read from the previous device
### Requirement: Manual override scoped to the reported keg
A manual override SHALL apply only while the machine reports the product ID that override was recorded against, so that a correction cannot outlive the keg it corrects.
#### Scenario: Override applies to the keg it was recorded for
- **WHEN** `beer_overrides` contains an entry whose key equals the state of the `keg_product_id` sensor
- **THEN** the card SHALL display the beer resolved from that entry's value, resolved by catalog name, slug, or matching `custom_beers` entry
- **THEN** the card SHALL use that beer for the name, brand colors, style, ABV, and artwork
#### Scenario: Override does not apply to a different keg
- **WHEN** `beer_overrides` contains entries AND none of their keys equals the reported `keg_product_id` state
- **THEN** the card SHALL ignore every entry and resolve the beer by detection
- **THEN** the card SHALL NOT display any beer named by a non-matching entry
#### Scenario: Override for an unrecognised product ID
- **WHEN** the reported `keg_product_id` matches no catalog entry's `kegId` AND `beer_overrides` contains an entry for that ID
- **THEN** the card SHALL display the beer named by that entry
- **THEN** the card SHALL NOT fall back to the integration-reported keg name
#### Scenario: No override applies when no keg is reported
- **WHEN** the `keg_product_id` sensor reports no usable state AND `beer_overrides` contains entries
- **THEN** the card SHALL enter the no-keg-detected state
- **THEN** the card SHALL NOT display any beer named by `beer_overrides`
#### Scenario: Override entry naming an unknown beer
- **WHEN** a matching `beer_overrides` entry names a beer present in neither the catalog nor `custom_beers`
- **THEN** the card SHALL display that name against the generic color palette
- **THEN** the card SHALL NOT fall back to detection, since a matching override signals the user's intent for this keg
### Requirement: Active override is visible
When the card displays a beer because of an override rather than detection, it SHALL make that visible, so a user can tell an override from a detection result without reading config.
#### Scenario: Override applied
- **WHEN** the card displays a beer resolved from a matching `beer_overrides` entry
- **THEN** the card SHALL render an indication that an override is in effect
#### Scenario: Override contradicts detection
- **WHEN** an override is applied AND detection would have resolved a different beer for the same keg
- **THEN** the indication SHALL identify the beer that detection resolved
- **THEN** the card SHALL NOT silently present the override as a detection result
#### Scenario: No override applied
- **WHEN** the card displays a beer resolved by detection with no matching override
- **THEN** the card SHALL NOT render an override indication
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "perfectdraft-card",
"version": "0.3.1",
"version": "0.4.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "perfectdraft-card",
"version": "0.3.1",
"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.0",
"version": "0.4.5",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
+7 -4
View File
@@ -1,6 +1,6 @@
{
"_source": "https://github.com/Falkvinge/hassio-integration-perfectdraft-pro/blob/main/custom_components/perfectdraft/keg_catalog.json",
"_upstreamCommit": "3c4b9ca6",
"_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",
@@ -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",
@@ -115,7 +116,9 @@
"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"
"48134": "Kopparberg Crisp Apple",
"48180": "Camden Stout"
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+5 -3
View File
@@ -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" },
@@ -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" },
@@ -117,6 +117,8 @@ 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: "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.0";
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.0";
const CARD_VERSION = "0.4.5";
const NO_KEG_LABEL = "No keg detected";