Fix wrong wm keep fresh key

This commit is contained in:
Andre Basche 2023-05-13 01:20:02 +02:00
parent aefe2cf88d
commit 593d3912af
22 changed files with 139 additions and 9 deletions

View file

@ -146,6 +146,7 @@ For every device exists a hidden button which can be used to log all infos of yo
- to the patience of my girlfriend as I work on this integration.
## Appliance Features
### Air conditioner
#### Controls
| Name | Icon | Entity | Key |
@ -311,7 +312,8 @@ For every device exists a hidden button which can be used to log all infos of yo
| Acqua Plus | `water-plus` | `switch` | `startProgram.acquaplus` |
| Anti-Crease | `timer` | `switch` | `startProgram.antiCreaseTime` |
| Anti-Crease | `timer` | `switch` | `startProgram.anticrease` |
| Auto Dose | `cup` | `switch` | `startProgram.autoDetergentStatus` |
| Auto Dose Detergent | `cup` | `switch` | `startProgram.autoDetergentStatus` |
| Auto Dose Softener | `teddy-bear` | `switch` | `startProgram.autoSoftenerStatus` |
| Delay Status | `timer-check` | `switch` | `startProgram.delayStatus` |
| Delay Time | `timer-plus` | `number` | `startProgram.delayTime` |
| Dry Time | | `number` | `startProgram.dryTime` |
@ -322,7 +324,7 @@ For every device exists a hidden button which can be used to log all infos of yo
| Extra Rinse 2 | `numeric-2-box-multiple-outline` | `switch` | `startProgram.extraRinse2` |
| Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.autoSoftenerStatus` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` |
| Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
| Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` |
| Powder Detergent Dose | `cup` | `sensor` | `startProgram.powderDetergentDose` |
@ -383,7 +385,8 @@ For every device exists a hidden button which can be used to log all infos of yo
| Name | Icon | Entity | Key |
| --- | --- | --- | --- |
| Acqua Plus | `water-plus` | `switch` | `startProgram.acquaplus` |
| Auto Dose | `cup` | `switch` | `startProgram.autoDetergentStatus` |
| Auto Dose Detergent | `cup` | `switch` | `startProgram.autoDetergentStatus` |
| Auto Dose Softener | `teddy-bear` | `switch` | `startProgram.autoSoftenerStatus` |
| Delay Status | `timer-check` | `switch` | `startProgram.delayStatus` |
| Delay Time | `timer-plus` | `number` | `startProgram.delayTime` |
| Energy Label | `lightning-bolt-circle` | `sensor` | `startProgram.energyLabel` |
@ -391,7 +394,7 @@ For every device exists a hidden button which can be used to log all infos of yo
| Extra Rinse 2 | `numeric-2-box-multiple-outline` | `switch` | `startProgram.extraRinse2` |
| Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.autoSoftenerStatus` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` |
| Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
| Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` |
| Powder Detergent Dose | `cup` | `sensor` | `startProgram.powderDetergentDose` |

View file

@ -61,18 +61,25 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
translation_key="prewash",
),
HonSwitchEntityDescription(
key="startProgram.autoSoftenerStatus",
key="startProgram.permanentPressStatus",
name="Keep Fresh",
entity_category=EntityCategory.CONFIG,
icon="mdi:refresh-circle",
translation_key="keep_fresh",
),
HonSwitchEntityDescription(
key="startProgram.autoSoftenerStatus",
name="Auto Dose Softener",
entity_category=EntityCategory.CONFIG,
icon="mdi:teddy-bear",
translation_key="auto_dose_softener",
),
HonSwitchEntityDescription(
key="startProgram.autoDetergentStatus",
name="Auto Dose",
name="Auto Dose Detergent",
entity_category=EntityCategory.CONFIG,
icon="mdi:cup",
translation_key="auto_dose",
translation_key="auto_dose_detergent",
),
HonSwitchEntityDescription(
key="startProgram.acquaplus",

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Dobrou noc"
},
"auto_dose_softener": {
"name": "Automatické dávkování Avivážní prostředek"
},
"auto_dose_detergent": {
"name": "Automatické dávkování Prací prostředek"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Gute Nacht"
},
"auto_dose_softener": {
"name": "Autodosierung Weichspüler"
},
"auto_dose_detergent": {
"name": "Autodosierung Spülmittel"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Καληνυχτα"
},
"auto_dose_softener": {
"name": "Αυτόματη Δοσολογία Μαλακτικό"
},
"auto_dose_detergent": {
"name": "Αυτόματη Δοσολογία Απορρυπαντικό"
}
},
"binary_sensor": {

View file

@ -464,6 +464,12 @@
},
"good_night": {
"name": "Good Night"
},
"auto_dose_softener": {
"name": "Autodose Softener"
},
"auto_dose_detergent": {
"name": "Autodose Detergent"
}
},
"select": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Buenas noches"
},
"auto_dose_softener": {
"name": "Dosificación automática Suavizante"
},
"auto_dose_detergent": {
"name": "Dosificación automática Detergente"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Bonne nuit"
},
"auto_dose_softener": {
"name": "Dose automatique Adoucissant"
},
"auto_dose_detergent": {
"name": "Dose automatique Lessive"
}
},
"binary_sensor": {

View file

@ -586,6 +586,12 @@
},
"good_night": {
"name": "לילה טוב"
},
"auto_dose_softener": {
"name": "מינון אוטומטי מרכך"
},
"auto_dose_detergent": {
"name": "מינון אוטומטי חומר ניקוי"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Good Night"
},
"auto_dose_softener": {
"name": "Automatsko doziranje Omekšivač"
},
"auto_dose_detergent": {
"name": "Automatsko doziranje Deterdžent"
}
},
"binary_sensor": {

View file

@ -1185,6 +1185,12 @@
},
"good_night": {
"name": "Buona notte"
},
"auto_dose_softener": {
"name": "Autodose Ammorbidente"
},
"auto_dose_detergent": {
"name": "Autodose Detergente"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Goede nacht"
},
"auto_dose_softener": {
"name": "Automatisch doseren Wasverzachter"
},
"auto_dose_detergent": {
"name": "Automatisch doseren Wasmiddel"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Dobranoc"
},
"auto_dose_softener": {
"name": "Automatyczne dozowanie Środek zmiękczający"
},
"auto_dose_detergent": {
"name": "Automatyczne dozowanie Detergent"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Boa Noite"
},
"auto_dose_softener": {
"name": "Autodosagem Amaciador"
},
"auto_dose_detergent": {
"name": "Autodosagem Detergente"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Noapte bună"
},
"auto_dose_softener": {
"name": "Autodozare Balsam"
},
"auto_dose_detergent": {
"name": "Autodozare Detergent"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Спокойной ночи"
},
"auto_dose_softener": {
"name": "Автодозирование Кондиционер"
},
"auto_dose_detergent": {
"name": "Автодозирование Средство для стирки"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Dobrú noc"
},
"auto_dose_softener": {
"name": "Automatická dávka Aviváž"
},
"auto_dose_detergent": {
"name": "Automatická dávka Prací prostriedok"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Lahko noč"
},
"auto_dose_softener": {
"name": "Samodejno odmerjanje Mehčalec"
},
"auto_dose_detergent": {
"name": "Samodejno odmerjanje Detergent"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "Laku noć"
},
"auto_dose_softener": {
"name": "Automatsko doziranje Omekšivač"
},
"auto_dose_detergent": {
"name": "Automatsko doziranje Deterdžent"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "İyi Geceler"
},
"auto_dose_softener": {
"name": "Otomatik doz Yumuşatıcı"
},
"auto_dose_detergent": {
"name": "Otomatik doz Deterjan"
}
},
"binary_sensor": {

View file

@ -1133,6 +1133,12 @@
},
"good_night": {
"name": "晚安"
},
"auto_dose_softener": {
"name": "自动定量 柔软剂"
},
"auto_dose_detergent": {
"name": "自动定量 洗涤剂"
}
},
"binary_sensor": {

View file

@ -73,7 +73,14 @@ NAMES = {
"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",
"auto_dose_softener": [
"WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.AUTODOSE",
"WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.SOFTENER",
],
"auto_dose_detergent": [
"WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.AUTODOSE",
"WASHING_CMD&CTRL.DASHBOARD_MENU_MORE_SETTINGS_WATER.DETERGENT",
],
"good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT",
},
"binary_sensor": {
@ -84,7 +91,6 @@ NAMES = {
"good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT",
"anti_crease": "HDRY_CMD&CTRL.PROGRAM_CYCLE_DETAIL.ANTICREASE_TITLE",
"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",