diff --git a/README.md b/README.md index ff1f7ec..938d65c 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/custom_components/perfectdraft/keg_catalog.json b/custom_components/perfectdraft/keg_catalog.json index a4b81e8..f232cac 100644 --- a/custom_components/perfectdraft/keg_catalog.json +++ b/custom_components/perfectdraft/keg_catalog.json @@ -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" } diff --git a/tests/test_keg_catalog.py b/tests/test_keg_catalog.py index aab666c..c12afd2 100644 --- a/tests/test_keg_catalog.py +++ b/tests/test_keg_catalog.py @@ -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__":