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. - to the patience of my girlfriend as I work on this integration.
## Appliance Features ## Appliance Features
### Air conditioner ### Air conditioner
#### Controls #### Controls
| Name | Icon | Entity | Key | | 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` | | Acqua Plus | `water-plus` | `switch` | `startProgram.acquaplus` |
| Anti-Crease | `timer` | `switch` | `startProgram.antiCreaseTime` | | Anti-Crease | `timer` | `switch` | `startProgram.antiCreaseTime` |
| Anti-Crease | `timer` | `switch` | `startProgram.anticrease` | | 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 Status | `timer-check` | `switch` | `startProgram.delayStatus` |
| Delay Time | `timer-plus` | `number` | `startProgram.delayTime` | | Delay Time | `timer-plus` | `number` | `startProgram.delayTime` |
| Dry Time | | `number` | `startProgram.dryTime` | | 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 2 | `numeric-2-box-multiple-outline` | `switch` | `startProgram.extraRinse2` |
| Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` | | Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` | | 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` | | Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
| Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` | | Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` |
| Powder Detergent Dose | `cup` | `sensor` | `startProgram.powderDetergentDose` | | 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 | | Name | Icon | Entity | Key |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| Acqua Plus | `water-plus` | `switch` | `startProgram.acquaplus` | | 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 Status | `timer-check` | `switch` | `startProgram.delayStatus` |
| Delay Time | `timer-plus` | `number` | `startProgram.delayTime` | | Delay Time | `timer-plus` | `number` | `startProgram.delayTime` |
| Energy Label | `lightning-bolt-circle` | `sensor` | `startProgram.energyLabel` | | 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 2 | `numeric-2-box-multiple-outline` | `switch` | `startProgram.extraRinse2` |
| Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` | | Extra Rinse 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` | | 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` | | Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
| Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` | | Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` |
| Powder Detergent Dose | `cup` | `sensor` | `startProgram.powderDetergentDose` | | Powder Detergent Dose | `cup` | `sensor` | `startProgram.powderDetergentDose` |

View File

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

View File

@ -1133,6 +1133,12 @@
}, },
"good_night": { "good_night": {
"name": "Dobrou noc" "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": { "binary_sensor": {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -73,7 +73,14 @@ NAMES = {
"extra_rinse_2": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE2", "extra_rinse_2": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE2",
"extra_rinse_3": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE3", "extra_rinse_3": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.EXTRARINSE3",
"acqua_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", "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", "good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT",
}, },
"binary_sensor": { "binary_sensor": {
@ -84,7 +91,6 @@ NAMES = {
"good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT", "good_night": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.GOODNIGHT",
"anti_crease": "HDRY_CMD&CTRL.PROGRAM_CYCLE_DETAIL.ANTICREASE_TITLE", "anti_crease": "HDRY_CMD&CTRL.PROGRAM_CYCLE_DETAIL.ANTICREASE_TITLE",
"acqua_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", "spin_speed": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.SPINSPEED",
"still_hot": "IH.COILS_STATUS.STILL_HOT", "still_hot": "IH.COILS_STATUS.STILL_HOT",
"pan_status": "IH.COILS_STATUS.PAN", "pan_status": "IH.COILS_STATUS.PAN",