From 604cf1b3c691a3ab8ed607525b0089a21fdf44ce Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Mon, 15 May 2023 00:38:41 +0200 Subject: [PATCH] Add more fridge sensor #41 --- README.md | 8 ++++ custom_components/hon/binary_sensor.py | 50 ++++++++++++++++++++++ custom_components/hon/number.py | 18 ++++++++ custom_components/hon/translations/cs.json | 24 +++++++++++ custom_components/hon/translations/de.json | 24 +++++++++++ custom_components/hon/translations/el.json | 24 +++++++++++ custom_components/hon/translations/en.json | 24 +++++++++++ custom_components/hon/translations/es.json | 24 +++++++++++ custom_components/hon/translations/fr.json | 24 +++++++++++ custom_components/hon/translations/he.json | 24 +++++++++++ custom_components/hon/translations/hr.json | 24 +++++++++++ custom_components/hon/translations/it.json | 24 +++++++++++ custom_components/hon/translations/nl.json | 24 +++++++++++ custom_components/hon/translations/pl.json | 24 +++++++++++ custom_components/hon/translations/pt.json | 24 +++++++++++ custom_components/hon/translations/ro.json | 24 +++++++++++ custom_components/hon/translations/ru.json | 24 +++++++++++ custom_components/hon/translations/sk.json | 24 +++++++++++ custom_components/hon/translations/sl.json | 24 +++++++++++ custom_components/hon/translations/sr.json | 24 +++++++++++ custom_components/hon/translations/tr.json | 24 +++++++++++ custom_components/hon/translations/zh.json | 24 +++++++++++ scripts/generate_translation.py | 8 ++++ 23 files changed, 540 insertions(+) diff --git a/README.md b/README.md index 3569143..f1ffbac 100644 --- a/README.md +++ b/README.md @@ -258,12 +258,20 @@ For every device exists a hidden button which can be used to log all infos of yo #### Configs | Name | Icon | Entity | Key | | --- | --- | --- | --- | +| Freezer Temperature | `thermometer` | `number` | `settings.tempSelZ2` | +| Fridge Temperature | `thermometer` | `number` | `settings.tempSelZ1` | | Program | | `select` | `startProgram.program` | #### Sensors | Name | Icon | Entity | Key | | --- | --- | --- | --- | +| Auto-Set Mode | `robot-outline` | `binary_sensor` | `intelligenceMode` | +| Door Status Freezer | `fridge-top` | `binary_sensor` | `doorStatusZ1` | +| Door Status Fridge | `fridge-bottom` | `binary_sensor` | `door2StatusZ1` | +| Holiday Mode | `palm-tree` | `binary_sensor` | `holidayMode` | | Room Humidity | `water-percent` | `sensor` | `humidityEnv` | | Room Temperature | `thermometer` | `sensor` | `tempEnv` | +| Super Cool | `snowflake` | `binary_sensor` | `quickModeZ2` | +| Super Freeze | `snowflake-variant` | `binary_sensor` | `quickModeZ1` | ### Tumble dryer #### Controls diff --git a/custom_components/hon/binary_sensor.py b/custom_components/hon/binary_sensor.py index 9c29827..aad651b 100644 --- a/custom_components/hon/binary_sensor.py +++ b/custom_components/hon/binary_sensor.py @@ -179,6 +179,56 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { translation_key="door_open", ), ), + "REF": ( + HonBinarySensorEntityDescription( + key="quickModeZ2", + name="Super Cool", + icon="mdi:snowflake", + device_class=BinarySensorDeviceClass.RUNNING, + on_value="1", + translation_key="super_cool", + ), + HonBinarySensorEntityDescription( + key="quickModeZ1", + name="Super Freeze", + icon="mdi:snowflake-variant", + device_class=BinarySensorDeviceClass.RUNNING, + on_value="1", + translation_key="super_freeze", + ), + HonBinarySensorEntityDescription( + key="doorStatusZ1", + name="Door Status Freezer", + device_class=BinarySensorDeviceClass.DOOR, + icon="mdi:fridge-top", + on_value="1", + translation_key="freezer_door", + ), + HonBinarySensorEntityDescription( + key="door2StatusZ1", + name="Door Status Fridge", + icon="mdi:fridge-bottom", + device_class=BinarySensorDeviceClass.DOOR, + on_value="1", + translation_key="fridge_door", + ), + HonBinarySensorEntityDescription( + key="intelligenceMode", + name="Auto-Set Mode", + icon="mdi:robot-outline", + device_class=BinarySensorDeviceClass.RUNNING, + on_value="1", + translation_key="auto_set", + ), + HonBinarySensorEntityDescription( + key="holidayMode", + name="Holiday Mode", + icon="mdi:palm-tree", + device_class=BinarySensorDeviceClass.RUNNING, + on_value="1", + translation_key="holiday_mode", + ), + ), } diff --git a/custom_components/hon/number.py b/custom_components/hon/number.py index 14429f4..3f9d3a2 100644 --- a/custom_components/hon/number.py +++ b/custom_components/hon/number.py @@ -153,6 +153,24 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = { translation_key="target_temperature", ), ), + "REF": ( + NumberEntityDescription( + key="settings.tempSelZ1", + name="Fridge Temperature", + entity_category=EntityCategory.CONFIG, + icon="mdi:thermometer", + native_unit_of_measurement=UnitOfTemperature.CELSIUS, + translation_key="fridge_temp_sel", + ), + NumberEntityDescription( + key="settings.tempSelZ2", + name="Freezer Temperature", + entity_category=EntityCategory.CONFIG, + icon="mdi:thermometer", + native_unit_of_measurement=UnitOfTemperature.CELSIUS, + translation_key="freezer_temp_sel", + ), + ), } NUMBERS["WD"] = unique_entities(NUMBERS["WM"], NUMBERS["TD"]) diff --git a/custom_components/hon/translations/cs.json b/custom_components/hon/translations/cs.json index 58d0d31..2f3fc35 100644 --- a/custom_components/hon/translations/cs.json +++ b/custom_components/hon/translations/cs.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Zvuková signalizace konce cyklu" + }, + "holiday_mode": { + "name": "Režim Holiday" + }, + "auto_set": { + "name": "Automatické nastavení" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Otevřená dvířka Mraznička" + }, + "fridge_door": { + "name": "Otevřená dvířka Chladnička" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Úroveň páry" + }, + "freezer_temp_sel": { + "name": "Cílová teplota Mraznička" + }, + "fridge_temp_sel": { + "name": "Cílová teplota Chladnička" } }, "button": { diff --git a/custom_components/hon/translations/de.json b/custom_components/hon/translations/de.json index 11e1594..bcf3ca3 100644 --- a/custom_components/hon/translations/de.json +++ b/custom_components/hon/translations/de.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Signalton zum Programmende" + }, + "holiday_mode": { + "name": "Holiday-Modus" + }, + "auto_set": { + "name": "Auto-Set" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Tür offen Gefrierschrank" + }, + "fridge_door": { + "name": "Tür offen Kühlschrank" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Dampfstufe" + }, + "freezer_temp_sel": { + "name": "Zieltemperatur Gefrierschrank" + }, + "fridge_temp_sel": { + "name": "Zieltemperatur Kühlschrank" } }, "button": { diff --git a/custom_components/hon/translations/el.json b/custom_components/hon/translations/el.json index a5b2cd2..a63b37d 100644 --- a/custom_components/hon/translations/el.json +++ b/custom_components/hon/translations/el.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Κουδούνισμα τέλους κύκλου" + }, + "holiday_mode": { + "name": "Λειτουργια Holiday" + }, + "auto_set": { + "name": "Αυτόματη ρύθμιση" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Πόρτα ανοιχτή Καταψύκτης" + }, + "fridge_door": { + "name": "Πόρτα ανοιχτή Ψυγείο" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Επίπεδο ατμού" + }, + "freezer_temp_sel": { + "name": "Στοχευμένη θερμοκρασία Καταψύκτης" + }, + "fridge_temp_sel": { + "name": "Στοχευμένη θερμοκρασία Ψυγείο" } }, "button": { diff --git a/custom_components/hon/translations/en.json b/custom_components/hon/translations/en.json index ef7520f..981e064 100644 --- a/custom_components/hon/translations/en.json +++ b/custom_components/hon/translations/en.json @@ -1290,6 +1290,24 @@ }, "buzzer": { "name": "Cycle end chime" + }, + "holiday_mode": { + "name": "Holiday Mode" + }, + "auto_set": { + "name": "Auto-Set" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Door open Freezer" + }, + "fridge_door": { + "name": "Door open Fridge" } }, "number": { @@ -1322,6 +1340,12 @@ }, "steam_level": { "name": "Steam Level" + }, + "freezer_temp_sel": { + "name": "Target temperature Freezer" + }, + "fridge_temp_sel": { + "name": "Target temperature Fridge" } }, "button": { diff --git a/custom_components/hon/translations/es.json b/custom_components/hon/translations/es.json index 79b2180..9b5646c 100644 --- a/custom_components/hon/translations/es.json +++ b/custom_components/hon/translations/es.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Campana de fin de ciclo" + }, + "holiday_mode": { + "name": "Modo Holiday" + }, + "auto_set": { + "name": "Auto-Set" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Puerta abierta Congelador" + }, + "fridge_door": { + "name": "Puerta abierta Frigorífico" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Nivel de vapor" + }, + "freezer_temp_sel": { + "name": "Temperatura deseada Congelador" + }, + "fridge_temp_sel": { + "name": "Temperatura deseada Frigorífico" } }, "button": { diff --git a/custom_components/hon/translations/fr.json b/custom_components/hon/translations/fr.json index 54b6c92..dd26ebc 100644 --- a/custom_components/hon/translations/fr.json +++ b/custom_components/hon/translations/fr.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Sonnerie de fin de cycle" + }, + "holiday_mode": { + "name": "Mode Holiday" + }, + "auto_set": { + "name": "Réglage automatique" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Porte ouverte Congélateur" + }, + "fridge_door": { + "name": "Porte ouverte Réfrigérateur" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Niveau de vapeur" + }, + "freezer_temp_sel": { + "name": "Température cible Congélateur" + }, + "fridge_temp_sel": { + "name": "Température cible Réfrigérateur" } }, "button": { diff --git a/custom_components/hon/translations/he.json b/custom_components/hon/translations/he.json index 6ac3918..07ee09d 100644 --- a/custom_components/hon/translations/he.json +++ b/custom_components/hon/translations/he.json @@ -675,6 +675,24 @@ }, "buzzer": { "name": "Cycle end chime" + }, + "holiday_mode": { + "name": "Holiday Mode" + }, + "auto_set": { + "name": "Auto-Set" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Door open Freezer" + }, + "fridge_door": { + "name": "Door open Fridge" } }, "number": { @@ -707,6 +725,12 @@ }, "steam_level": { "name": "מפלס קיטור" + }, + "freezer_temp_sel": { + "name": "Target temperature Freezer" + }, + "fridge_temp_sel": { + "name": "Target temperature Fridge" } }, "button": { diff --git a/custom_components/hon/translations/hr.json b/custom_components/hon/translations/hr.json index 63f3f39..8df62bb 100644 --- a/custom_components/hon/translations/hr.json +++ b/custom_components/hon/translations/hr.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Zvono za završetak ciklusa" + }, + "holiday_mode": { + "name": "Način rada Holiday" + }, + "auto_set": { + "name": "Automatsko postavljanje" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Otvorena vrata Zamrzivač" + }, + "fridge_door": { + "name": "Otvorena vrata Hladnjak" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Razina pare" + }, + "freezer_temp_sel": { + "name": "Ciljana temperatura Zamrzivač" + }, + "fridge_temp_sel": { + "name": "Ciljana temperatura Hladnjak" } }, "button": { diff --git a/custom_components/hon/translations/it.json b/custom_components/hon/translations/it.json index e518dfa..7e23e09 100644 --- a/custom_components/hon/translations/it.json +++ b/custom_components/hon/translations/it.json @@ -1274,6 +1274,24 @@ }, "buzzer": { "name": "Avviso di fine ciclo" + }, + "holiday_mode": { + "name": "Modalità Holiday" + }, + "auto_set": { + "name": "Impostazione automatica" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Porta aperta Congelatore" + }, + "fridge_door": { + "name": "Porta aperta Frigorifero" } }, "number": { @@ -1306,6 +1324,12 @@ }, "steam_level": { "name": "Livello vapore" + }, + "freezer_temp_sel": { + "name": "Temperatura target Congelatore" + }, + "fridge_temp_sel": { + "name": "Temperatura target Frigorifero" } }, "button": { diff --git a/custom_components/hon/translations/nl.json b/custom_components/hon/translations/nl.json index 50d376b..fb59800 100644 --- a/custom_components/hon/translations/nl.json +++ b/custom_components/hon/translations/nl.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Bel voor einde cyclus" + }, + "holiday_mode": { + "name": "Holiday-modus (Vakantie)" + }, + "auto_set": { + "name": "Automatisch instellen" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Deur open Vriezer" + }, + "fridge_door": { + "name": "Deur open Koelkast" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Stoomniveau" + }, + "freezer_temp_sel": { + "name": "Doeltemperatuur Vriezer" + }, + "fridge_temp_sel": { + "name": "Doeltemperatuur Koelkast" } }, "button": { diff --git a/custom_components/hon/translations/pl.json b/custom_components/hon/translations/pl.json index 36f4a22..1f99cc2 100644 --- a/custom_components/hon/translations/pl.json +++ b/custom_components/hon/translations/pl.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Sygnał dźwiękowy końca cyklu" + }, + "holiday_mode": { + "name": "Tryb Holiday" + }, + "auto_set": { + "name": "Ustawianie automatyczne" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Drzwi otwarte Zamrażarka" + }, + "fridge_door": { + "name": "Drzwi otwarte Lodówka" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Poziom pary" + }, + "freezer_temp_sel": { + "name": "Temperatura docelowa Zamrażarka" + }, + "fridge_temp_sel": { + "name": "Temperatura docelowa Lodówka" } }, "button": { diff --git a/custom_components/hon/translations/pt.json b/custom_components/hon/translations/pt.json index c9420cd..c38ea95 100644 --- a/custom_components/hon/translations/pt.json +++ b/custom_components/hon/translations/pt.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Besouro de fim de ciclo" + }, + "holiday_mode": { + "name": "Modo Holiday" + }, + "auto_set": { + "name": "Ajuste automático" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Porta aberta Congelador" + }, + "fridge_door": { + "name": "Porta aberta Frigorífico" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Nível de vapor" + }, + "freezer_temp_sel": { + "name": "Temperatura alvo Congelador" + }, + "fridge_temp_sel": { + "name": "Temperatura alvo Frigorífico" } }, "button": { diff --git a/custom_components/hon/translations/ro.json b/custom_components/hon/translations/ro.json index 37e0742..d8c3c7b 100644 --- a/custom_components/hon/translations/ro.json +++ b/custom_components/hon/translations/ro.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Sonerie la finalul ciclului" + }, + "holiday_mode": { + "name": "Mod Holiday" + }, + "auto_set": { + "name": "Setare automată" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Ușă deschisă Congelator" + }, + "fridge_door": { + "name": "Ușă deschisă Frigider" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Nivel abur" + }, + "freezer_temp_sel": { + "name": "Temperatură vizată Congelator" + }, + "fridge_temp_sel": { + "name": "Temperatură vizată Frigider" } }, "button": { diff --git a/custom_components/hon/translations/ru.json b/custom_components/hon/translations/ru.json index 28423de..3c9e3e5 100644 --- a/custom_components/hon/translations/ru.json +++ b/custom_components/hon/translations/ru.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Звуковой сигнал окончания цикла" + }, + "holiday_mode": { + "name": "Режим Holiday (режим отпуска)" + }, + "auto_set": { + "name": "Автоматическая установка" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Дверца открыта Морозильник" + }, + "fridge_door": { + "name": "Дверца открыта Холодильник" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Уровень пара" + }, + "freezer_temp_sel": { + "name": "Заданная температура Морозильник" + }, + "fridge_temp_sel": { + "name": "Заданная температура Холодильник" } }, "button": { diff --git a/custom_components/hon/translations/sk.json b/custom_components/hon/translations/sk.json index beca28f..2e8aaa5 100644 --- a/custom_components/hon/translations/sk.json +++ b/custom_components/hon/translations/sk.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Signál na konci cyklu" + }, + "holiday_mode": { + "name": "Režim Holiday" + }, + "auto_set": { + "name": "Automatické nastavenie" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Otvorené dvere Mraznička" + }, + "fridge_door": { + "name": "Otvorené dvere Chladnička" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Úroveň nastavenia pary" + }, + "freezer_temp_sel": { + "name": "Cieľová teplota Mraznička" + }, + "fridge_temp_sel": { + "name": "Cieľová teplota Chladnička" } }, "button": { diff --git a/custom_components/hon/translations/sl.json b/custom_components/hon/translations/sl.json index bb433de..33b6dc7 100644 --- a/custom_components/hon/translations/sl.json +++ b/custom_components/hon/translations/sl.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Zvočni signal ob koncu cikla" + }, + "holiday_mode": { + "name": "Način Holiday" + }, + "auto_set": { + "name": "Samodejna nastavitev" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Door open Zamrzovalnik" + }, + "fridge_door": { + "name": "Door open Hladilnik" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Količina pare" + }, + "freezer_temp_sel": { + "name": "Ciljna temperatura Zamrzovalnik" + }, + "fridge_temp_sel": { + "name": "Ciljna temperatura Hladilnik" } }, "button": { diff --git a/custom_components/hon/translations/sr.json b/custom_components/hon/translations/sr.json index 4675a34..15c382d 100644 --- a/custom_components/hon/translations/sr.json +++ b/custom_components/hon/translations/sr.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Zvono na kraju ciklusa" + }, + "holiday_mode": { + "name": "Režim Holiday" + }, + "auto_set": { + "name": "Automatsko podešavanje" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Vrata su otvorena Zamrzivač" + }, + "fridge_door": { + "name": "Vrata su otvorena Frižider" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Nivo pare" + }, + "freezer_temp_sel": { + "name": "Željena temperatura Zamrzivač" + }, + "fridge_temp_sel": { + "name": "Željena temperatura Frižider" } }, "button": { diff --git a/custom_components/hon/translations/tr.json b/custom_components/hon/translations/tr.json index 36b8692..132a60e 100644 --- a/custom_components/hon/translations/tr.json +++ b/custom_components/hon/translations/tr.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "Program sonu zili" + }, + "holiday_mode": { + "name": "Holiday Modu" + }, + "auto_set": { + "name": "Otomatik Ayarla" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "Kapı açık Dondurucu" + }, + "fridge_door": { + "name": "Kapı açık Buzdolabı" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "Buhar Seviyesi" + }, + "freezer_temp_sel": { + "name": "Hedef sıcaklık Dondurucu" + }, + "fridge_temp_sel": { + "name": "Hedef sıcaklık Buzdolabı" } }, "button": { diff --git a/custom_components/hon/translations/zh.json b/custom_components/hon/translations/zh.json index 39605c7..842186b 100644 --- a/custom_components/hon/translations/zh.json +++ b/custom_components/hon/translations/zh.json @@ -1222,6 +1222,24 @@ }, "buzzer": { "name": "循环结束提示音" + }, + "holiday_mode": { + "name": "Holiday 模式" + }, + "auto_set": { + "name": "自动设置" + }, + "super_cool": { + "name": "Super Cool" + }, + "super_freeze": { + "name": "Super Freeze" + }, + "freezer_door": { + "name": "门打开 冷藏箱" + }, + "fridge_door": { + "name": "门打开 冰箱" } }, "number": { @@ -1254,6 +1272,12 @@ }, "steam_level": { "name": "蒸汽档位" + }, + "freezer_temp_sel": { + "name": "目标温度 冷藏箱" + }, + "fridge_temp_sel": { + "name": "目标温度 冰箱" } }, "button": { diff --git a/scripts/generate_translation.py b/scripts/generate_translation.py index 04cdaa7..973a4e3 100755 --- a/scripts/generate_translation.py +++ b/scripts/generate_translation.py @@ -103,6 +103,12 @@ NAMES = { "on": "GLOBALS.GENERAL.ON", "prewash": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.PREWASH", "buzzer": "DW_CMD&CTRL.SETTINGS.END_CYCLE_BUZZER", + "holiday_mode": "REF.DASHBOARD_MENU_MORE_NOTIFICATIONS.HOLIDAY_MODE", + "auto_set": "REF_CMD&CTRL.MODALITIES.ECO", + "super_cool": "REF_CMD&CTRL.MODALITIES.SUPER_COOL", + "super_freeze": "REF_CMD&CTRL.MODALITIES.SUPER_FREEZE", + "freezer_door": ["GLOBALS.APPLIANCE_STATUS.DOOR_OPEN", "REF.ZONES.FREEZER"], + "fridge_door": ["GLOBALS.APPLIANCE_STATUS.DOOR_OPEN", "REF.ZONES.FRIDGE"], }, "button": { "induction_hob": "GLOBALS.APPLIANCES_NAME.IH", @@ -177,6 +183,8 @@ NAMES = { "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", + "freezer_temp_sel": ["OV.COMMON.GOAL_TEMPERATURE", "REF.ZONES.FREEZER"], + "fridge_temp_sel": ["OV.COMMON.GOAL_TEMPERATURE", "REF.ZONES.FRIDGE"], }, "climate": {"air_conditioner": "GLOBALS.APPLIANCES_NAME.AC"}, }