Merge pull request #372 from mbillow/claude/dryer-type-translations

dryer/dishwasher: dryer_type translation (#366) + missing progress state
This commit is contained in:
Marc Billow authored and GitHub committed 2026-08-14 21:59:27 -05:00
commit 19a2c03609
8 files changed
+46 -8

No files matched your search

@@ -27,7 +27,17 @@ DRYER_SETTINGS = Capability(
entities=( entities=(
SensorDesc(key="dry_level", field="x.com.samsung.da.dryLevel", icon="mdi:water-percent"), SensorDesc(key="dry_level", field="x.com.samsung.da.dryLevel", icon="mdi:water-percent"),
SensorDesc(key="dry_time", field="x.com.samsung.da.dryTime", icon="mdi:timer"), SensorDesc(key="dry_time", field="x.com.samsung.da.dryTime", icon="mdi:timer"),
SensorDesc(key="dryer_type", field="x.com.samsung.da.dryerType", icon="mdi:tumble-dryer"), SensorDesc(
key="dryer_type",
field="x.com.samsung.da.dryerType",
icon="mdi:tumble-dryer",
device_class="enum",
# Only 'Electricity' confirmed across shipped fixtures (#366); an
# unrecognized value still passes through raw via sensor.py's
# options property rather than breaking the entity.
options=("electricity",),
value_fn=lambda v: v.lower() if isinstance(v, str) else v,
),
SwitchDesc( SwitchDesc(
key="wrinkle_prevent", key="wrinkle_prevent",
field="x.com.samsung.da.wrinklePrevent", field="x.com.samsung.da.wrinklePrevent",
@@ -958,7 +958,10 @@
"name": "Doba sušení" "name": "Doba sušení"
}, },
"dryer_type": { "dryer_type": {
"name": "Typ sušičky" "name": "Typ sušičky",
"state": {
"electricity": "Elektřina"
}
}, },
"dust": { "dust": {
"name": "Prach" "name": "Prach"
@@ -1098,6 +1101,7 @@
"steaming": "Napařování", "steaming": "Napařování",
"airwashing": "Osvěžení vzduchem", "airwashing": "Osvěžení vzduchem",
"drying": "Sušení", "drying": "Sušení",
"dryingwithdooropen": "Větrání",
"cooling": "Chlazení", "cooling": "Chlazení",
"predrain": "Vypouštění", "predrain": "Vypouštění",
"prewash": "Předpírka" "prewash": "Předpírka"
@@ -952,7 +952,10 @@
"name": "Trockenzeit" "name": "Trockenzeit"
}, },
"dryer_type": { "dryer_type": {
"name": "Trocknertyp" "name": "Trocknertyp",
"state": {
"electricity": "Strom"
}
}, },
"dust": { "dust": {
"name": "Staub" "name": "Staub"
@@ -1092,6 +1095,7 @@
"steaming": "Dämpfen", "steaming": "Dämpfen",
"airwashing": "Luftreinigung", "airwashing": "Luftreinigung",
"drying": "Trocknen", "drying": "Trocknen",
"dryingwithdooropen": "Lüften",
"cooling": "Abkühlen", "cooling": "Abkühlen",
"predrain": "Abpumpen", "predrain": "Abpumpen",
"prewash": "Vorwäsche" "prewash": "Vorwäsche"
@@ -958,7 +958,10 @@
"name": "Dry time" "name": "Dry time"
}, },
"dryer_type": { "dryer_type": {
"name": "Dryer type" "name": "Dryer type",
"state": {
"electricity": "Electricity"
}
}, },
"dust": { "dust": {
"name": "Dust" "name": "Dust"
@@ -1098,6 +1101,7 @@
"steaming": "Steaming", "steaming": "Steaming",
"airwashing": "Air washing", "airwashing": "Air washing",
"drying": "Drying", "drying": "Drying",
"dryingwithdooropen": "Venting",
"cooling": "Cooling", "cooling": "Cooling",
"predrain": "Pre-drain", "predrain": "Pre-drain",
"prewash": "Pre-wash" "prewash": "Pre-wash"
@@ -1151,7 +1151,10 @@
"name": "Tiempo de secado" "name": "Tiempo de secado"
}, },
"dryer_type": { "dryer_type": {
"name": "Tipo de secadora" "name": "Tipo de secadora",
"state": {
"electricity": "Electricidad"
}
}, },
"dust": { "dust": {
"name": "Polvo" "name": "Polvo"
@@ -1291,6 +1294,7 @@
"steaming": "Vaporización", "steaming": "Vaporización",
"airwashing": "Lavado con aire", "airwashing": "Lavado con aire",
"drying": "Secado", "drying": "Secado",
"dryingwithdooropen": "Ventilación",
"cooling": "Enfriamiento", "cooling": "Enfriamiento",
"predrain": "Drenaje previo", "predrain": "Drenaje previo",
"prewash": "Prelavado" "prewash": "Prelavado"
@@ -958,7 +958,10 @@
"name": "Tempo di asciugatura" "name": "Tempo di asciugatura"
}, },
"dryer_type": { "dryer_type": {
"name": "Tipo di asciugatrice" "name": "Tipo di asciugatrice",
"state": {
"electricity": "Elettricità"
}
}, },
"dust": { "dust": {
"name": "Polvere" "name": "Polvere"
@@ -1098,6 +1101,7 @@
"steaming": "Vapore", "steaming": "Vapore",
"airwashing": "Lavaggio ad aria", "airwashing": "Lavaggio ad aria",
"drying": "Asciugatura", "drying": "Asciugatura",
"dryingwithdooropen": "Ventilazione",
"cooling": "Raffreddamento", "cooling": "Raffreddamento",
"predrain": "Scarico preliminare", "predrain": "Scarico preliminare",
"prewash": "Prelavaggio" "prewash": "Prelavaggio"
@@ -958,7 +958,10 @@
"name": "건조 시간" "name": "건조 시간"
}, },
"dryer_type": { "dryer_type": {
"name": "건조기 유형" "name": "건조기 유형",
"state": {
"electricity": "전기"
}
}, },
"dust": { "dust": {
"name": "미세먼지" "name": "미세먼지"
@@ -1098,6 +1101,7 @@
"steaming": "스팀", "steaming": "스팀",
"airwashing": "에어워시", "airwashing": "에어워시",
"drying": "건조", "drying": "건조",
"dryingwithdooropen": "환기",
"cooling": "냉각", "cooling": "냉각",
"predrain": "사전 배수", "predrain": "사전 배수",
"prewash": "애벌빨래" "prewash": "애벌빨래"
@@ -958,7 +958,10 @@
"name": "Droogtijd" "name": "Droogtijd"
}, },
"dryer_type": { "dryer_type": {
"name": "Type droger" "name": "Type droger",
"state": {
"electricity": "Elektriciteit"
}
}, },
"dust": { "dust": {
"name": "Stof" "name": "Stof"
@@ -1098,6 +1101,7 @@
"steaming": "Stomen", "steaming": "Stomen",
"airwashing": "Luchtreiniging", "airwashing": "Luchtreiniging",
"drying": "Drogen", "drying": "Drogen",
"dryingwithdooropen": "Ventileren",
"cooling": "Koelen", "cooling": "Koelen",
"predrain": "Vooraf afpompen", "predrain": "Vooraf afpompen",
"prewash": "Voorwas" "prewash": "Voorwas"