Add keg 48180 (Camden Stout) to the catalog

Observed by MThomas564 on a machine with the keg fitted (#9, PR #10).
Appended after 48134 to keep numeric key order; catalog floor ratchets
to 117.

Co-authored-by: MThomas564 <mattraethomas97@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-07 12:07:47 +01:00
co-authored by MThomas564 Cursor
parent b209de0cf2
commit 8b2c4418b3
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ A Home Assistant custom integration for the [PerfectDraft Pro](https://www.perfe
| Sensor | Description | Unit |
|--------|-------------|------|
| Temperature | Current beer temperature | °C |
| Keg | Name of the tapped beer, resolved from a [bundled catalog](#the-keg-name-catalog) of 116 kegs | — |
| Keg | Name of the tapped beer, resolved from a [bundled catalog](#the-keg-name-catalog) of 117 kegs | — |
| Keg Product | Numeric product ID of the fitted keg | — |
| Keg Remaining | Beer left in the keg | % |
| Keg Freshness | Days remaining until 30-day freshness expires | days |
@@ -114,5 +114,6 @@
"48024": "Siren Lumina IPA",
"48050": "Anheuser-Busch Bud",
"48061": "Northern Monk Faith",
"48134": "Kopparberg Crisp Apple"
"48134": "Kopparberg Crisp Apple",
"48180": "Camden Stout"
}
+2 -1
View File
@@ -23,7 +23,7 @@ CATALOG_PATH = os.path.join(
# Floor ratchets when the catalog grows. A drop below this means entries were
# lost; the catalog is only ever meant to grow.
MINIMUM_ENTRIES = 116
MINIMUM_ENTRIES = 117
# Shop-listing artefacts that are not part of a beer's name.
LISTING_ARTEFACTS = ("6L", "Short Date", "BBE")
@@ -106,6 +106,7 @@ class TestKegCatalogContent(unittest.TestCase):
self.assertEqual(catalog["44536"], "Tiny Rebel Stay Puft")
self.assertEqual(catalog["48050"], "Anheuser-Busch Bud")
self.assertEqual(catalog["47792"], "Camden Eazy")
self.assertEqual(catalog["48180"], "Camden Stout")
if __name__ == "__main__":