Files
hassio-component-perfectdra…/scripts/keg-catalog.reference.json
T
rickandCursor 1d0c014111 Close the auto-detection gaps: full keg ID coverage, honest fallbacks
Implements openspec/changes/auto-detect-gap-closure.

Catalog now covers all 114 product IDs the integration can report (was 57).
22 IDs mapped onto existing entries, unlocking 20 keg photos that already
shipped but were unreachable; 36 new entries added for beers the card did
not know. Product ID 48061 was mapped to the wrong beer -- it is Northern
Monk Faith, not A Little Faith -- so it now has its own entry.

Detection precedence is explicit: beer_name override, then product ID, then
reported keg name, then an honest no-keg state. Removes the fallback that
displayed Leffe Blonde whenever detection failed, and prefers the card's
curated name over the integration's product-listing name (12 labels).

beer_name returns as an optional override, empty by default, which also
un-orphans custom_beers. Cards on integrations without the keg sensors now
get told to update rather than shown a wrong beer. _resolveEntities no
longer latches on temperature alone.

Adds npm run check:catalog to catch upstream catalog drift, the root cause
of the original gap.

Hardware verification (tasks 8.1-8.3) still outstanding.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 17:04:39 +02:00

121 lines
4.0 KiB
JSON

{
"_source": "https://github.com/Falkvinge/hassio-integration-perfectdraft-pro/blob/main/custom_components/perfectdraft/keg_catalog.json",
"_upstreamCommit": "3c4b9ca6",
"_note": "Reference snapshot for npm run check:catalog. Not used at runtime. Re-sync when the integration catalog changes.",
"kegs": {
"452": "Beck's Gold",
"453": "Beck's",
"454": "Löwenbräu",
"455": "Franziskaner Weissbier",
"456": "Diebels",
"457": "Stella Artois",
"458": "Jupiler",
"500": "Hasseroder",
"509": "Leffe Blonde",
"679": "Hoegaarden",
"759": "Diekirch Grand Cru",
"760": "Diekirch Premium",
"797": "Leffe Rituel",
"1095": "Leffe Ruby",
"1470": "Diekirch Christmas",
"2073": "Hertog Jan",
"2167": "Leffe Spring",
"2172": "Leffe Brune",
"2452": "Leffe Royal Whitbread Golding",
"2565": "Hoegaarden Rose",
"3550": "Leffe Winter",
"9156": "Leffe Royal Cascade",
"29745": "Lowenbrau Oktoberfestbier",
"29775": "Goose Island Midway",
"29896": "Kwak",
"29974": "Spaten",
"30955": "Franziskaner Royal",
"31718": "Leffe Summer",
"31747": "Budweiser",
"31896": "Tripel Karmeliet",
"32814": "Romola",
"32816": "Goose Island IPA",
"32864": "Leffe Amber",
"33515": "La Virgen Madrid",
"33642": "Ginette Bio Refreshing Blonde",
"33917": "Tiny Rebel Clwb Tropica",
"33918": "Spaten Oktoberfestbier",
"34327": "Thornbridge Jaipur",
"34493": "Corona Extra",
"34944": "Leffe La Légère",
"35168": "Goose Island Golden Goose",
"35344": "Ginette Bio White",
"36302": "Tennent's Lager",
"36703": "Tiny Rebel Pineapple Express IPA",
"37005": "Tiny Rebel Cali Pale",
"37038": "Crew Republic Drunken Sailor",
"41588": "Schneider's Bayrisch Hell",
"41830": "BrewDog Punk IPA",
"41832": "Mikkeller Heated Seats",
"42223": "Victoria",
"42352": "St Feuillien Blonde",
"42377": "Bud Light",
"42415": "Chernigivske",
"42526": "Vocation Life & Death",
"42527": "Castelain Grand Cru",
"42528": "Palm",
"42640": "Kwak Blonde",
"42641": "Kwak Rouge",
"42703": "Brewdog Elvis Juice",
"42756": "Innis & Gunn Lager Beer",
"42778": "Mikkeller Game of Thrones",
"42863": "1L Stein",
"42876": "Orchard Pig Reveller Cider",
"42920": "Adnams Ghost Ship",
"43006": "Camden Hells Lager",
"43009": "Stella Artois Unfiltered",
"43019": "Hawkstone Lager",
"43033": "Hertog Jan Bockbier",
"43235": "Corona Cero (0.0% abv)",
"43805": "Camden Pale Ale",
"43806": "Magic Rock Magic Orange",
"43807": "Brewdog Lost Lager",
"44040": "Hertog Jan Grand Pilsener",
"44059": "San Miguel Especial",
"44090": "Kopparberg Strawberry and Lime Cider",
"44171": "Leffe Blanche",
"44238": "BrewDog Hopped in Harmony",
"44331": "Ninkasi Flower Lager",
"44387": "Mont Blanc La Rousse",
"44425": "Camden IPA",
"44452": "Franziskaner Kellerbier",
"44474": "Camden Marzen",
"44526": "Mahou",
"44536": "Tiny Rebel Stay Puft",
"44543": "Via Roma",
"47144": "Haake Beck",
"47285": "Theakston Old Peculier",
"47362": "Leffe Prestige",
"47384": "Peroni Nastro Azzurro",
"47389": "Northern Monk A Little Faith",
"47418": "Singha",
"47429": "Camden Lager Top",
"47440": "Ninkasi French IPA",
"47486": "Meteor White IPA",
"47494": "Proper Job",
"47523": "Anosteké Blonde",
"47629": "Camden Eazy IPA",
"47774": "Old Speckled Hen",
"47816": "Corona Ligera",
"47943": "Fuller's London Pride",
"47962": "Bass Pale Ale",
"47972": "Stella Artois 0.0%",
"47973": "Trooper Original",
"47974": "Ch'ti Blonde",
"47977": "Früh Kölsch",
"47978": "Saison Dupont Dry Hop",
"47979": "Modelo Especial",
"47984": "Samson 11",
"47986": "La Chouffe Blonde",
"47999": "Thatchers Gold Cider",
"48019": "Leffe Blonde 0.0%",
"48024": "Siren Lumina IPA",
"48061": "Northern Monk Faith",
"48134": "Kopparberg Crisp Apple"
}
}