From c0fda4cd1b1bcb54f4d50d98b3cd875651a44f82 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 7 May 2023 02:10:30 +0200 Subject: [PATCH] Add more control for hoover washing machine #34 --- README.md | 13 +++++++ custom_components/hon/binary_sensor.py | 2 +- custom_components/hon/number.py | 19 ++++++++++ custom_components/hon/sensor.py | 28 +++++++++++++++ custom_components/hon/switch.py | 42 ++++++++++++++++++++++ custom_components/hon/translations/cs.json | 27 ++++++++++++++ custom_components/hon/translations/de.json | 27 ++++++++++++++ custom_components/hon/translations/el.json | 27 ++++++++++++++ custom_components/hon/translations/en.json | 27 ++++++++++++++ custom_components/hon/translations/es.json | 27 ++++++++++++++ custom_components/hon/translations/fr.json | 27 ++++++++++++++ custom_components/hon/translations/he.json | 27 ++++++++++++++ custom_components/hon/translations/hr.json | 27 ++++++++++++++ custom_components/hon/translations/it.json | 27 ++++++++++++++ custom_components/hon/translations/nl.json | 27 ++++++++++++++ custom_components/hon/translations/pl.json | 27 ++++++++++++++ custom_components/hon/translations/pt.json | 27 ++++++++++++++ custom_components/hon/translations/ro.json | 27 ++++++++++++++ custom_components/hon/translations/ru.json | 27 ++++++++++++++ custom_components/hon/translations/sk.json | 27 ++++++++++++++ custom_components/hon/translations/sl.json | 27 ++++++++++++++ custom_components/hon/translations/sr.json | 27 ++++++++++++++ custom_components/hon/translations/tr.json | 27 ++++++++++++++ custom_components/hon/translations/zh.json | 27 ++++++++++++++ scripts/generate_translation.py | 10 +++++- 25 files changed, 625 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a0630d..ec73065 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,8 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0 | Dry level | `hair-dryer` | `select` | `startProgram.dryLevel` | | Energy Label | `lightning-bolt-circle` | `sensor` | `startProgram.energyLabel` | | Program | | `select` | `startProgram.program` | +| Steam Type | `weather-dust` | `sensor` | `steamType` | +| Steam level | `smoke` | `sensor` | `steamLevel` | | Sterilization | `clock-start` | `switch` | `startProgram.sterilizationStatus` | | Suggested Load | `weight-kilogram` | `sensor` | `startProgram.suggestedLoadD` | | Temperature level | `thermometer` | `number` | `startProgram.tempLevel` | @@ -316,9 +318,15 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0 #### Configs | Name | Icon | Entity | Key | | --- | --- | --- | --- | +| Acqua Plus | `water-plus` | `switch` | `startProgram.acquaplus` | +| Auto Dose | `cup` | `switch` | `startProgram.autoDetergentStatus` | | Delay Status | `timer-check` | `switch` | `startProgram.delayStatus` | | Delay Time | `timer-plus` | `number` | `startProgram.delayTime` | | Energy Label | `lightning-bolt-circle` | `sensor` | `startProgram.energyLabel` | +| Extra Rinse 1 | `numeric-1-box-multiple-outline` | `switch` | `extraRinse1` | +| Extra Rinse 2 | `numeric-2-box-multiple-outline` | `switch` | `extraRinse2` | +| Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `extraRinse3` | +| Good Night | `weather-night` | `switch` | `goodNight` | | Keep Fresh | `refresh-circle` | `switch` | `startProgram.autoSoftenerStatus` | | Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` | | Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` | @@ -328,13 +336,18 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0 | Rinse Iterations | `rotate-right` | `number` | `startProgram.rinseIterations` | | Soak Prewash Selection | `tshirt-crew` | `switch` | `startProgram.haier_SoakPrewashSelection` | | Spin speed | `numeric` | `select` | `startProgram.spinSpeed` | +| Steam Level | `weather-dust` | `number` | `startProgram.steamLevel` | +| Suggested Load | `weight-kilogram` | `sensor` | `startProgram.suggestedLoadW` | | Suggested weight | `weight-kilogram` | `sensor` | `startProgram.weight` | | Temperature | `thermometer` | `select` | `startProgram.temp` | +| Water hard | `water` | `number` | `startProgram.waterHard` | +| lang | | `number` | `startProgram.lang` | #### Sensors | Name | Icon | Entity | Key | | --- | --- | --- | --- | | Current Electricity Used | `lightning-bolt` | `sensor` | `currentElectricityUsed` | | Current Water Used | `water` | `sensor` | `currentWaterUsed` | +| Dirt level | `liquid-spot` | `sensor` | `dirtyLevel` | | Door | | `binary_sensor` | `doorStatus` | | Door Lock | | `binary_sensor` | `doorLockStatus` | | Error | `math-log` | `sensor` | `errors` | diff --git a/custom_components/hon/binary_sensor.py b/custom_components/hon/binary_sensor.py index 7550f27..a04bd80 100644 --- a/custom_components/hon/binary_sensor.py +++ b/custom_components/hon/binary_sensor.py @@ -94,7 +94,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { key="goodNight", name="Good Night Mode", translation_key="good_night" ), HonBinarySensorEntityDescription( - key="acquaplus", name="Acqua Plus", translation_key="aqua_plus" + key="acquaplus", name="Acqua Plus", translation_key="acqua_plus" ), HonBinarySensorEntityDescription( key="anticrease", name="Anti-Crease", translation_key="anti_crease" diff --git a/custom_components/hon/number.py b/custom_components/hon/number.py index 5ee087b..23f832e 100644 --- a/custom_components/hon/number.py +++ b/custom_components/hon/number.py @@ -42,6 +42,25 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = { native_unit_of_measurement=UnitOfTime.MINUTES, translation_key="wash_time", ), + NumberEntityDescription( + key="startProgram.steamLevel", + name="Steam Level", + icon="mdi:weather-dust", + entity_category=EntityCategory.CONFIG, + translation_key="steam_level", + ), + NumberEntityDescription( + key="startProgram.waterHard", + name="Water hard", + icon="mdi:water", + entity_category=EntityCategory.CONFIG, + translation_key="water_hard", + ), + NumberEntityDescription( + key="startProgram.lang", + name="lang", + entity_category=EntityCategory.CONFIG, + ), ), "TD": ( NumberEntityDescription( diff --git a/custom_components/hon/sensor.py b/custom_components/hon/sensor.py index 8eee227..d5f125e 100644 --- a/custom_components/hon/sensor.py +++ b/custom_components/hon/sensor.py @@ -140,6 +140,21 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { entity_category=EntityCategory.CONFIG, translation_key="remaining_time", ), + SensorEntityDescription( + key="dirtyLevel", + name="Dirt level", + icon="mdi:liquid-spot", + translation_key="dirt_level", + ), + SensorEntityDescription( + key="startProgram.suggestedLoadW", + name="Suggested Load", + icon="mdi:weight-kilogram", + entity_category=EntityCategory.CONFIG, + state_class=SensorStateClass.MEASUREMENT, + native_unit_of_measurement=UnitOfMass.KILOGRAMS, + translation_key="suggested_load", + ), ), "TD": ( SensorEntityDescription( @@ -208,6 +223,19 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { entity_category=EntityCategory.CONFIG, translation_key="energy_label", ), + SensorEntityDescription( + key="steamLevel", + name="Steam level", + icon="mdi:smoke", + entity_category=EntityCategory.CONFIG, + translation_key="steam_level", + ), + SensorEntityDescription( + key="steamType", + name="Steam Type", + icon="mdi:weather-dust", + entity_category=EntityCategory.CONFIG, + ), ), "WD": ( SensorEntityDescription( diff --git a/custom_components/hon/switch.py b/custom_components/hon/switch.py index b3393b7..ea1a88f 100644 --- a/custom_components/hon/switch.py +++ b/custom_components/hon/switch.py @@ -67,6 +67,48 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = { icon="mdi:refresh-circle", translation_key="keep_fresh", ), + HonSwitchEntityDescription( + key="startProgram.autoDetergentStatus", + name="Auto Dose", + entity_category=EntityCategory.CONFIG, + icon="mdi:cup", + translation_key="auto_dose", + ), + HonSwitchEntityDescription( + key="startProgram.acquaplus", + name="Acqua Plus", + entity_category=EntityCategory.CONFIG, + icon="mdi:water-plus", + translation_key="acqua_plus", + ), + HonSwitchEntityDescription( + key="extraRinse1", + name="Extra Rinse 1", + entity_category=EntityCategory.CONFIG, + icon="mdi:numeric-1-box-multiple-outline", + translation_key="extra_rinse_1", + ), + HonSwitchEntityDescription( + key="extraRinse2", + name="Extra Rinse 2", + entity_category=EntityCategory.CONFIG, + icon="mdi:numeric-2-box-multiple-outline", + translation_key="extra_rinse_2", + ), + HonSwitchEntityDescription( + key="extraRinse3", + name="Extra Rinse 3", + entity_category=EntityCategory.CONFIG, + icon="mdi:numeric-3-box-multiple-outline", + translation_key="extra_rinse_3", + ), + HonSwitchEntityDescription( + key="goodNight", + name="Good Night", + icon="mdi:weather-night", + entity_category=EntityCategory.CONFIG, + translation_key="good_night", + ), ), "TD": ( HonSwitchEntityDescription( diff --git a/custom_components/hon/translations/cs.json b/custom_components/hon/translations/cs.json index 084c556..0436faf 100644 --- a/custom_components/hon/translations/cs.json +++ b/custom_components/hon/translations/cs.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Tichý režim" + }, + "extra_rinse_1": { + "name": "+1 máchání" + }, + "extra_rinse_2": { + "name": "+2 máchání" + }, + "extra_rinse_3": { + "name": "+3 máchání" + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatické dávkování" + }, + "good_night": { + "name": "Dobrou noc" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Předpírka\r\r\r\r\r\r\n" + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatické dávkování" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Doba sušení" + }, + "steam_level": { + "name": "Úroveň páry" } }, "button": { diff --git a/custom_components/hon/translations/de.json b/custom_components/hon/translations/de.json index f9a026e..19b2ef7 100644 --- a/custom_components/hon/translations/de.json +++ b/custom_components/hon/translations/de.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Stummer Modus" + }, + "extra_rinse_1": { + "name": "+1 Spülgang" + }, + "extra_rinse_2": { + "name": "+2 Spülgänge" + }, + "extra_rinse_3": { + "name": "+3 Spülgänge" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodosierung" + }, + "good_night": { + "name": "Gute Nacht" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Vorspülen" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodosierung" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Trocknungsdauer" + }, + "steam_level": { + "name": "Dampfstufe" } }, "button": { diff --git a/custom_components/hon/translations/el.json b/custom_components/hon/translations/el.json index d5f660a..84608da 100644 --- a/custom_components/hon/translations/el.json +++ b/custom_components/hon/translations/el.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Σίγαση λειτουργίας" + }, + "extra_rinse_1": { + "name": "+1 Ξέβγαλμα" + }, + "extra_rinse_2": { + "name": "+2 Ξεβγάλματα" + }, + "extra_rinse_3": { + "name": "+3 Ξεβγάλματα" + }, + "acqua_plus": { + "name": "Acquaplus (προσθήκη νερού)" + }, + "auto_dose": { + "name": "Αυτόματη Δοσολογία" + }, + "good_night": { + "name": "Καληνυχτα" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "προπλυση" + }, + "acqua_plus": { + "name": "Acquaplus (προσθήκη νερού)" + }, + "auto_dose": { + "name": "Αυτόματη Δοσολογία" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Χρόνος στεγνώματος" + }, + "steam_level": { + "name": "Επίπεδο ατμού" } }, "button": { diff --git a/custom_components/hon/translations/en.json b/custom_components/hon/translations/en.json index ce3bf5e..cc88ec9 100644 --- a/custom_components/hon/translations/en.json +++ b/custom_components/hon/translations/en.json @@ -298,6 +298,24 @@ }, "mute_mode": { "name": "Mute mode" + }, + "extra_rinse_1": { + "name": "+1 Rinse" + }, + "extra_rinse_2": { + "name": "+2 Rinses" + }, + "extra_rinse_3": { + "name": "+3 Rinses" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodose" + }, + "good_night": { + "name": "Good Night" } }, "select": { @@ -1082,6 +1100,12 @@ }, "prewash": { "name": "Pre-wash " + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodose" } }, "number": { @@ -1111,6 +1135,9 @@ }, "dry_time": { "name": "Drying time" + }, + "steam_level": { + "name": "Steam Level" } }, "button": { diff --git a/custom_components/hon/translations/es.json b/custom_components/hon/translations/es.json index 89e2aba..be839ed 100644 --- a/custom_components/hon/translations/es.json +++ b/custom_components/hon/translations/es.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Modo silencio" + }, + "extra_rinse_1": { + "name": "+1 Aclarado" + }, + "extra_rinse_2": { + "name": "+2 Aclarados" + }, + "extra_rinse_3": { + "name": "+3 Aclarados" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Dosificación automática" + }, + "good_night": { + "name": "Buenas noches" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Pre-lavado" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Dosificación automática" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Tiempo de secado" + }, + "steam_level": { + "name": "Nivel de vapor" } }, "button": { diff --git a/custom_components/hon/translations/fr.json b/custom_components/hon/translations/fr.json index faea7f7..7b9dc46 100644 --- a/custom_components/hon/translations/fr.json +++ b/custom_components/hon/translations/fr.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Mode muet" + }, + "extra_rinse_1": { + "name": "+1 rinçage" + }, + "extra_rinse_2": { + "name": "+2 rinçages" + }, + "extra_rinse_3": { + "name": "+3 rinçages" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Dose automatique" + }, + "good_night": { + "name": "Bonne nuit" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Prélavage" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Dose automatique" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Temps de séchage" + }, + "steam_level": { + "name": "Niveau de vapeur" } }, "button": { diff --git a/custom_components/hon/translations/he.json b/custom_components/hon/translations/he.json index 0589ec1..895c659 100644 --- a/custom_components/hon/translations/he.json +++ b/custom_components/hon/translations/he.json @@ -527,6 +527,24 @@ }, "mute_mode": { "name": "Mute mode" + }, + "extra_rinse_1": { + "name": "+1 שטיפה" + }, + "extra_rinse_2": { + "name": "+2 שטיפות" + }, + "extra_rinse_3": { + "name": "+3 שטיפות" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "מינון אוטומטי" + }, + "good_night": { + "name": "לילה טוב" } }, "binary_sensor": { @@ -598,6 +616,12 @@ }, "prewash": { "name": "שטיפה מראש" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "מינון אוטומטי" } }, "number": { @@ -627,6 +651,9 @@ }, "dry_time": { "name": "זמן ייבוש" + }, + "steam_level": { + "name": "מפלס קיטור" } }, "button": { diff --git a/custom_components/hon/translations/hr.json b/custom_components/hon/translations/hr.json index e7c042a..4296a2d 100644 --- a/custom_components/hon/translations/hr.json +++ b/custom_components/hon/translations/hr.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Bešumni način rada" + }, + "extra_rinse_1": { + "name": "+1 ispiranje " + }, + "extra_rinse_2": { + "name": "+2 ispiranja " + }, + "extra_rinse_3": { + "name": "+3 ispiranja " + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatsko doziranje" + }, + "good_night": { + "name": "Good Night" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Pretpranje" + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatsko doziranje" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Trajanje sušenja" + }, + "steam_level": { + "name": "Razina pare" } }, "button": { diff --git a/custom_components/hon/translations/it.json b/custom_components/hon/translations/it.json index 67d44df..08aa93f 100644 --- a/custom_components/hon/translations/it.json +++ b/custom_components/hon/translations/it.json @@ -996,6 +996,24 @@ }, "mute_mode": { "name": "Modalità tacita" + }, + "extra_rinse_1": { + "name": "+1 Risciacquo" + }, + "extra_rinse_2": { + "name": "+2 Risciacqui" + }, + "extra_rinse_3": { + "name": "+3 Risciacqui" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodose" + }, + "good_night": { + "name": "Buona notte" } }, "binary_sensor": { @@ -1067,6 +1085,12 @@ }, "prewash": { "name": "Prelavaggio" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodose" } }, "number": { @@ -1096,6 +1120,9 @@ }, "dry_time": { "name": "Tempo asciugatura" + }, + "steam_level": { + "name": "Livello vapore" } }, "button": { diff --git a/custom_components/hon/translations/nl.json b/custom_components/hon/translations/nl.json index 8284d2a..e1287e4 100644 --- a/custom_components/hon/translations/nl.json +++ b/custom_components/hon/translations/nl.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Dempmodus" + }, + "extra_rinse_1": { + "name": "+1 keer spoelen" + }, + "extra_rinse_2": { + "name": "+2 keer spoelen" + }, + "extra_rinse_3": { + "name": "+3 keer spoelen" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Automatisch doseren" + }, + "good_night": { + "name": "Goede nacht" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Voorwas" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Automatisch doseren" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Droogtijd" + }, + "steam_level": { + "name": "Stoomniveau" } }, "button": { diff --git a/custom_components/hon/translations/pl.json b/custom_components/hon/translations/pl.json index fd22571..82d6e44 100644 --- a/custom_components/hon/translations/pl.json +++ b/custom_components/hon/translations/pl.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Tryb wyciszenia" + }, + "extra_rinse_1": { + "name": "+1 płukanie" + }, + "extra_rinse_2": { + "name": "+2 płukania" + }, + "extra_rinse_3": { + "name": "+3 płukania" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Automatyczne dozowanie" + }, + "good_night": { + "name": "Dobranoc" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Mycie wstępne" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Automatyczne dozowanie" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Czas suszenia" + }, + "steam_level": { + "name": "Poziom pary" } }, "button": { diff --git a/custom_components/hon/translations/pt.json b/custom_components/hon/translations/pt.json index 4ce56f2..c2027ee 100644 --- a/custom_components/hon/translations/pt.json +++ b/custom_components/hon/translations/pt.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Modo Mute" + }, + "extra_rinse_1": { + "name": "+1 enxaguamento" + }, + "extra_rinse_2": { + "name": "+2 enxaguamentos" + }, + "extra_rinse_3": { + "name": "+3 enxaguamentos" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodosagem" + }, + "good_night": { + "name": "Boa Noite" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Pré-lavagem" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodosagem" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Tempo de secagem" + }, + "steam_level": { + "name": "Nível de vapor" } }, "button": { diff --git a/custom_components/hon/translations/ro.json b/custom_components/hon/translations/ro.json index c56b437..10acf14 100644 --- a/custom_components/hon/translations/ro.json +++ b/custom_components/hon/translations/ro.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Modul mut" + }, + "extra_rinse_1": { + "name": "+1 clătire" + }, + "extra_rinse_2": { + "name": "+2 clătiri" + }, + "extra_rinse_3": { + "name": "+3 clătiri" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodozare" + }, + "good_night": { + "name": "Noapte bună" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Prespălare" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Autodozare" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Timp de uscare" + }, + "steam_level": { + "name": "Nivel abur" } }, "button": { diff --git a/custom_components/hon/translations/ru.json b/custom_components/hon/translations/ru.json index 154d3c6..34ae234 100644 --- a/custom_components/hon/translations/ru.json +++ b/custom_components/hon/translations/ru.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Беззвучный режим" + }, + "extra_rinse_1": { + "name": "+1 полоскание" + }, + "extra_rinse_2": { + "name": "+2 полоскания" + }, + "extra_rinse_3": { + "name": "+3 полоскания" + }, + "acqua_plus": { + "name": "Акваплюс" + }, + "auto_dose": { + "name": "Автодозирование" + }, + "good_night": { + "name": "Спокойной ночи" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "предварительная мойка" + }, + "acqua_plus": { + "name": "Акваплюс" + }, + "auto_dose": { + "name": "Автодозирование" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Время сушки" + }, + "steam_level": { + "name": "Уровень пара" } }, "button": { diff --git a/custom_components/hon/translations/sk.json b/custom_components/hon/translations/sk.json index 2ef0d42..fbbb86d 100644 --- a/custom_components/hon/translations/sk.json +++ b/custom_components/hon/translations/sk.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Stlmený režim" + }, + "extra_rinse_1": { + "name": "+ 1 oplachovanie" + }, + "extra_rinse_2": { + "name": "+ 2 oplachovania" + }, + "extra_rinse_3": { + "name": "+ 3 oplachovania" + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatická dávka" + }, + "good_night": { + "name": "Dobrú noc" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Predumývanie" + }, + "acqua_plus": { + "name": "Aquaplus" + }, + "auto_dose": { + "name": "Automatická dávka" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Čas sušenia" + }, + "steam_level": { + "name": "Úroveň nastavenia pary" } }, "button": { diff --git a/custom_components/hon/translations/sl.json b/custom_components/hon/translations/sl.json index c2e8729..ef585d9 100644 --- a/custom_components/hon/translations/sl.json +++ b/custom_components/hon/translations/sl.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Način z izklopljenim zvokom" + }, + "extra_rinse_1": { + "name": " + 1 izpiranje" + }, + "extra_rinse_2": { + "name": " + 2 izpiranji" + }, + "extra_rinse_3": { + "name": " + 3 izpiranja" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Samodejno odmerjanje" + }, + "good_night": { + "name": "Lahko noč" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Predpranje" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Samodejno odmerjanje" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Čas sušenja" + }, + "steam_level": { + "name": "Količina pare" } }, "button": { diff --git a/custom_components/hon/translations/sr.json b/custom_components/hon/translations/sr.json index eb5390e..5a70358 100644 --- a/custom_components/hon/translations/sr.json +++ b/custom_components/hon/translations/sr.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Režim isključenog zvuka" + }, + "extra_rinse_1": { + "name": "+1 ispiranje" + }, + "extra_rinse_2": { + "name": "+2 ispiranja" + }, + "extra_rinse_3": { + "name": "+3 ispiranja" + }, + "acqua_plus": { + "name": "Viši nivo vode" + }, + "auto_dose": { + "name": "Automatsko doziranje" + }, + "good_night": { + "name": "Laku noć" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Predpranje" + }, + "acqua_plus": { + "name": "Viši nivo vode" + }, + "auto_dose": { + "name": "Automatsko doziranje" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Vreme sušenja" + }, + "steam_level": { + "name": "Nivo pare" } }, "button": { diff --git a/custom_components/hon/translations/tr.json b/custom_components/hon/translations/tr.json index 96e3472..a77224a 100644 --- a/custom_components/hon/translations/tr.json +++ b/custom_components/hon/translations/tr.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "Ses Kapalı mod" + }, + "extra_rinse_1": { + "name": "+1 Durulama" + }, + "extra_rinse_2": { + "name": "+2 Durulama" + }, + "extra_rinse_3": { + "name": "+3 Durulama" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Otomatik doz" + }, + "good_night": { + "name": "İyi Geceler" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "Pre-wash" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "Otomatik doz" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "Kurutma zamanı" + }, + "steam_level": { + "name": "Buhar Seviyesi" } }, "button": { diff --git a/custom_components/hon/translations/zh.json b/custom_components/hon/translations/zh.json index 9a99238..57c0d7d 100644 --- a/custom_components/hon/translations/zh.json +++ b/custom_components/hon/translations/zh.json @@ -944,6 +944,24 @@ }, "mute_mode": { "name": "静音模式" + }, + "extra_rinse_1": { + "name": "+1 次漂洗" + }, + "extra_rinse_2": { + "name": "+2 次漂洗" + }, + "extra_rinse_3": { + "name": "+3 次漂洗" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "自动定量" + }, + "good_night": { + "name": "晚安" } }, "binary_sensor": { @@ -1015,6 +1033,12 @@ }, "prewash": { "name": "预洗" + }, + "acqua_plus": { + "name": "Acquaplus" + }, + "auto_dose": { + "name": "自动定量" } }, "number": { @@ -1044,6 +1068,9 @@ }, "dry_time": { "name": "烘干时间" + }, + "steam_level": { + "name": "蒸汽档位" } }, "button": { diff --git a/scripts/generate_translation.py b/scripts/generate_translation.py index f7126bc..a6ea560 100755 --- a/scripts/generate_translation.py +++ b/scripts/generate_translation.py @@ -174,6 +174,12 @@ NAMES = { "self_clean_56": "PROGRAMS.AC.IOT_SELF_CLEAN_56", "silent_mode": "AC.PROGRAM_DETAIL.SILENT_MODE", "mute_mode": "AC.PROGRAM_DETAIL.MUTE_MODE", + "extra_rinse_1": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE1", + "extra_rinse_2": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE2", + "extra_rinse_3": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE3", + "acqua_plus": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.ACQUAPLUS", + "auto_dose": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.AUTODOSE", + "good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT", }, "binary_sensor": { "door_lock": "WASHING_CMD&CTRL.CHECK_UP_RESULTS.DOOR_LOCK", @@ -182,7 +188,8 @@ NAMES = { "extra_rinse_3": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE3", "good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT", "anti_crease": "HDRY_CMD&CTRL.PROGRAM_CYCLE_DETAIL.ANTICREASE_TITLE", - "aqua_plus": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.ACQUAPLUS", + "acqua_plus": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.ACQUAPLUS", + "auto_dose": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.AUTODOSE", "spin_speed": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.SPINSPEED", "still_hot": "IH.COILS_STATUS.STILL_HOT", "pan_status": "IH.COILS_STATUS.PAN", @@ -264,6 +271,7 @@ NAMES = { "rinse_iterations": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL.DRAWER_HEADER_RINSE", "wash_time": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL.WASHING_TIME", "dry_time": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_TIME", + "steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL", }, }