From e913a3c2c0f26c2e6ffa12477b3af69ff6435628 Mon Sep 17 00:00:00 2001 From: Jeroen Hof <32430809+Metal-Eagle@users.noreply.github.com> Date: Fri, 24 Jul 2026 06:26:24 +0200 Subject: [PATCH] feat: add new washer cycle options for AI Wash and Jeans --- custom_components/localthings/strings.json | 4 +++- custom_components/localthings/translations/en.json | 4 +++- tests/test_laundry_capabilities.py | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/custom_components/localthings/strings.json b/custom_components/localthings/strings.json index b3e0026..df01a1d 100644 --- a/custom_components/localthings/strings.json +++ b/custom_components/localthings/strings.json @@ -100,7 +100,9 @@ "37": "Air Wash", "38": "Cotton Dry", "39": "Synthetics Dry", - "1f": "Intense Cold" + "1f": "Intense Cold", + "2b": "AI Wash", + "2c": "Jeans" } }, "dryer_cycle": { diff --git a/custom_components/localthings/translations/en.json b/custom_components/localthings/translations/en.json index b3e0026..df01a1d 100644 --- a/custom_components/localthings/translations/en.json +++ b/custom_components/localthings/translations/en.json @@ -100,7 +100,9 @@ "37": "Air Wash", "38": "Cotton Dry", "39": "Synthetics Dry", - "1f": "Intense Cold" + "1f": "Intense Cold", + "2b": "AI Wash", + "2c": "Jeans" } }, "dryer_cycle": { diff --git a/tests/test_laundry_capabilities.py b/tests/test_laundry_capabilities.py index 2a7d22c..7c3f09a 100644 --- a/tests/test_laundry_capabilities.py +++ b/tests/test_laundry_capabilities.py @@ -8,6 +8,7 @@ class TestCourseHelpers: assert laundry.parse_edit_course_list(raw) == [ '1C', '1D', '21', '1B', '1E', '29', '24', '33', '28', '26', '27', '22', '20', '23', '25', '32', '2F', '2E', '30', '66', '2D', '8F', '96', + '2b', '2c' ] def test_parse_edit_course_list_handles_missing_or_malformed(self):