diff --git a/custom_components/localthings/translations/cs.json b/custom_components/localthings/translations/cs.json index 977b8db..95c2e5f 100644 --- a/custom_components/localthings/translations/cs.json +++ b/custom_components/localthings/translations/cs.json @@ -609,6 +609,8 @@ "state": { "01": "Normální", "04": "Rychlé praní", + "06": "XXL prádlo", + "08": "Máchání+odstřeďování", "17": "Stažený program", "1b": "Bavlna", "1c": "Eco 40-60", @@ -619,7 +621,7 @@ "21": "Barevné prádlo", "22": "Vlna", "23": "Outdoor", - "24": "Ručníky", + "24": "Ložní prádlo", "25": "Syntetika", "26": "Jemné prádlo", "27": "Máchání+odstřeďování", @@ -632,7 +634,7 @@ "2f": "Sportovní oblečení", "30": "Zataženo", "32": "Košile", - "33": "Ložní prádlo", + "33": "Ručníky", "34": "Smíšené", "36": "Praní+sušení", "37": "Sušení vzduchem", @@ -674,6 +676,7 @@ "88": "Péče o domácí mazlíčky", "8f": "Intenzivní studená", "96": "Méně mikrovláken", + "a0": "15min rychlé praní", "35": "Eko bavlna" } }, diff --git a/custom_components/localthings/translations/de.json b/custom_components/localthings/translations/de.json index cf31314..254f331 100644 --- a/custom_components/localthings/translations/de.json +++ b/custom_components/localthings/translations/de.json @@ -572,6 +572,8 @@ "state": { "01": "Normal", "04": "Schnellwäsche", + "06": "XXL-Wäsche", + "08": "Spülen + Schleudern", "1b": "Baumwolle", "1c": "Eco 40-60", "1d": "Super Speed", @@ -581,7 +583,7 @@ "21": "Buntwäsche", "22": "Wolle", "23": "Outdoor", - "24": "Handtücher", + "24": "Bettwäsche", "25": "Pflegeleicht", "26": "Feinwäsche", "27": "Spülen + Schleudern", @@ -594,7 +596,7 @@ "2f": "Sportkleidung", "30": "Bewölkter Tag", "32": "Hemden", - "33": "XXL-Wäsche", + "33": "Handtücher", "34": "Mischwäsche", "36": "Waschen + Trocknen", "37": "Air Wash", @@ -618,6 +620,7 @@ "87": "Download", "8f": "Kaltwäsche Intensiv", "96": "Weniger Mikrofasern", + "a0": "Schnelle Wäsche 15'", "17": "Heruntergeladen", "69": "KI-Wäsche", "6a": "Wolle", diff --git a/custom_components/localthings/translations/en.json b/custom_components/localthings/translations/en.json index 5b684be..43ce1f4 100644 --- a/custom_components/localthings/translations/en.json +++ b/custom_components/localthings/translations/en.json @@ -609,6 +609,8 @@ "state": { "01": "Normal", "04": "Quick Wash", + "06": "XXL Laundry", + "08": "Rinse+Spin", "17": "Downloaded", "1b": "Cotton", "1c": "Eco 40-60", @@ -619,7 +621,7 @@ "21": "Colors", "22": "Wool", "23": "Outdoor", - "24": "Towels", + "24": "Bedding", "25": "Synthetics", "26": "Delicates", "27": "Rinse+Spin", @@ -632,7 +634,7 @@ "2f": "Activewear", "30": "Cloudy Day", "32": "Shirts", - "33": "Bedding", + "33": "Towels", "34": "Mixed", "35": "E Cotton", "36": "Wash+Dry", @@ -674,7 +676,8 @@ "87": "Download", "88": "Pet Care", "8f": "Intense Cold", - "96": "Less Microfiber" + "96": "Less Microfiber", + "a0": "15' Quick Wash" } }, "washer_dry_level": { diff --git a/custom_components/localthings/translations/es.json b/custom_components/localthings/translations/es.json index f4b7d2a..6d2576f 100644 --- a/custom_components/localthings/translations/es.json +++ b/custom_components/localthings/translations/es.json @@ -758,6 +758,8 @@ "state": { "01": "Normal", "04": "Lavado rápido", + "06": "Colada XXL", + "08": "Aclarar + Centrifugar", "17": "Descargado", "1b": "Algodón", "1c": "Eco 40-60", @@ -768,7 +770,7 @@ "21": "Color", "22": "Lana", "23": "Exterior", - "24": "Toallas", + "24": "Ropa de cama", "25": "Sintéticos", "26": "Delicados", "27": "Aclarar + Centrifugar", @@ -781,7 +783,7 @@ "2f": "Ropa deportiva", "30": "Día nublado", "32": "Camisas", - "33": "Ropa de cama", + "33": "Toallas", "34": "Mezcla", "36": "Lavado + Secado", "37": "Lavado con aire", @@ -805,6 +807,7 @@ "87": "Descarga de Programas", "8f": "Lavado en frío", "96": "Menos microfibras", + "a0": "Lavado rápido 15'", "69": "Lavado IA", "6a": "Lana", "6b": "Denim", diff --git a/custom_components/localthings/translations/it.json b/custom_components/localthings/translations/it.json index f13c398..b9528b1 100644 --- a/custom_components/localthings/translations/it.json +++ b/custom_components/localthings/translations/it.json @@ -609,6 +609,8 @@ "state": { "01": "Normale", "04": "Lavaggio rapido", + "06": "Bucato XXL", + "08": "Risciacquo+Centrifuga", "17": "Scaricato", "1b": "Cotone", "1c": "Eco 40-60", @@ -619,7 +621,7 @@ "21": "Colorati", "22": "Lana", "23": "Capi outdoor", - "24": "Asciugamani", + "24": "Biancheria da letto", "25": "Sintetici", "26": "Delicati", "27": "Risciacquo+Centrifuga", @@ -632,7 +634,7 @@ "2f": "Abbigliamento sportivo", "30": "Giornata nuvolosa", "32": "Camicie", - "33": "Biancheria da letto", + "33": "Asciugamani", "34": "Misti", "36": "Lavaggio+Asciugatura", "37": "Lavaggio ad aria", @@ -674,7 +676,8 @@ "78": "Risciacquo+Centrifuga", "79": "Solo centrifuga", "88": "Cura animali", - "35": "Cotone E" + "35": "Cotone E", + "a0": "Rapido 15'" } }, "washer_dry_level": { diff --git a/custom_components/localthings/translations/ko.json b/custom_components/localthings/translations/ko.json index a27a9ef..043b1d3 100644 --- a/custom_components/localthings/translations/ko.json +++ b/custom_components/localthings/translations/ko.json @@ -609,6 +609,8 @@ "state": { "01": "표준세탁", "04": "쾌속세탁", + "06": "XXL 세탁", + "08": "헹굼+탈수", "17": "다운로드 코스", "1b": "면", "1c": "에코 40-60", @@ -619,7 +621,7 @@ "21": "컬러 의류", "22": "울", "23": "아웃도어", - "24": "타월", + "24": "이불", "25": "합성섬유", "26": "섬세의류", "27": "헹굼+탈수", @@ -632,7 +634,7 @@ "2f": "피트니스", "30": "흐린 날", "32": "셔츠", - "33": "이불", + "33": "타월", "34": "혼합", "36": "세탁+건조", "37": "에어워시", @@ -656,6 +658,7 @@ "87": "다운로드", "8f": "강력 냉수 세탁", "96": "미세플라스틱저감", + "a0": "15분 쾌속세탁", "69": "AI 맞춤세탁", "6a": "울", "6b": "데님", diff --git a/custom_components/localthings/translations/nl.json b/custom_components/localthings/translations/nl.json index 839a6a6..542826f 100644 --- a/custom_components/localthings/translations/nl.json +++ b/custom_components/localthings/translations/nl.json @@ -609,6 +609,8 @@ "state": { "01": "Normaal", "04": "Snelle was", + "06": "XXL was", + "08": "Spoelen+centrifugeren", "17": "Gedownload", "1b": "Katoen", "1c": "Eco 40-60", @@ -619,7 +621,7 @@ "21": "Bonte was", "22": "Wol", "23": "Outdoor", - "24": "Handdoeken", + "24": "Beddengoed", "25": "Synthetisch", "26": "Fijne was", "27": "Spoelen+centrifugeren", @@ -632,7 +634,7 @@ "2f": "Sportkleding", "30": "Bewolkte dag", "32": "Overhemden", - "33": "Beddengoed", + "33": "Handdoeken", "34": "Gemengd", "36": "Wassen+drogen", "37": "Air Wash", @@ -674,6 +676,7 @@ "88": "Huisdierverzorging", "8f": "Intensief koud", "96": "Minder microvezels", + "a0": "15' Snelle was", "35": "Eco katoen" } }, diff --git a/tests/test_translations.py b/tests/test_translations.py index a456e51..1fc1b60 100644 --- a/tests/test_translations.py +++ b/tests/test_translations.py @@ -160,6 +160,28 @@ def test_confirmed_korean_table_02_washer_course_names(): } +def test_confirmed_washer_table_02_towels_bedding_are_not_swapped(): + """Issue #343: DA_WM_TP1_21_COMMON's Table_02 had 24/33 transposed -- + selecting 'Towels' in HA ran the washer's Bedding cycle and vice versa. + 24 must agree with the 69/6A-79/88 family's own Bedding/Towels pair + (6f/70), not with each other.""" + states = _load("en")["entity"]["select"]["washer_cycle_table_02"]["state"] + assert states["24"] == states["6f"] == "Bedding" + assert states["33"] == states["70"] == "Towels" + + +def test_confirmed_washer_table_02_missing_course_names(): + """Issue #342: 06/08/a0 had no translation and fell back to the raw + device code in the UI.""" + states = _load("en")["entity"]["select"]["washer_cycle_table_02"]["state"] + assert {code: states[code] for code in ("06", "08", "74", "a0")} == { + "06": "XXL Laundry", + "08": "Rinse+Spin", + "74": "Drum Clean", + "a0": "15' Quick Wash", + } + + def test_confirmed_dishwasher_course_names(): states = _load("en")["entity"]["select"]["dishwasher_cycle"]["state"] assert {