Add hygiene switch #91

This commit is contained in:
Andre Basche 2023-07-10 01:00:30 +02:00
parent 9dc98953a2
commit fb8fba259a
22 changed files with 66 additions and 0 deletions

View file

@ -433,6 +433,7 @@ For every device exists a button under diagnostics which can be used to log all
| 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` |
| Hygiene | `lotion-plus` | `switch` | `startProgram.hygiene` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` | | 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` |
@ -503,6 +504,7 @@ For every device exists a button under diagnostics which can be used to log all
| 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` |
| Hygiene | `lotion-plus` | `switch` | `startProgram.hygiene` |
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` | | 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` |

View file

@ -116,6 +116,12 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
icon="mdi:weather-night", icon="mdi:weather-night",
translation_key="good_night", translation_key="good_night",
), ),
HonConfigSwitchEntityDescription(
key="startProgram.hygiene",
name="Hygiene",
icon="mdi:lotion-plus",
translation_key="hygiene",
),
), ),
"TD": ( "TD": (
HonControlSwitchEntityDescription( HonControlSwitchEntityDescription(

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Hlasitost tónu klepnutí" "name": "Hlasitost tónu klepnutí"
},
"hygiene": {
"name": "Hygienický plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Tastentonlautstärke" "name": "Tastentonlautstärke"
},
"hygiene": {
"name": "Hygiene plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Ένταση τόνου αφής" "name": "Ένταση τόνου αφής"
},
"hygiene": {
"name": "Hygiene plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1799,6 +1799,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Touch tone volume" "name": "Touch tone volume"
},
"hygiene": {
"name": "Hygiene plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volumen del tono táctil" "name": "Volumen del tono táctil"
},
"hygiene": {
"name": "Higiene extra"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volume des tonalités" "name": "Volume des tonalités"
},
"hygiene": {
"name": "Hygiène plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -893,6 +893,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Touch tone volume" "name": "Touch tone volume"
},
"hygiene": {
"name": "היגיינה פלוס"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Glasnoća tona pri dodiru" "name": "Glasnoća tona pri dodiru"
},
"hygiene": {
"name": "Hygiene Plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1777,6 +1777,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volume Tasti" "name": "Volume Tasti"
},
"hygiene": {
"name": "Hygiene plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volume van geluid bij aanraking" "name": "Volume van geluid bij aanraking"
},
"hygiene": {
"name": "Hygiëne plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Dźwięk przycisku dotykowego" "name": "Dźwięk przycisku dotykowego"
},
"hygiene": {
"name": "Higiena plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volume do tom de toque" "name": "Volume do tom de toque"
},
"hygiene": {
"name": "Higiene mais"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Volum la atingerea tastelor" "name": "Volum la atingerea tastelor"
},
"hygiene": {
"name": "Igienizare plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Громкость сенсорных кнопок" "name": "Громкость сенсорных кнопок"
},
"hygiene": {
"name": "Гигиена плюс"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Hlasitosť tónu dotyku" "name": "Hlasitosť tónu dotyku"
},
"hygiene": {
"name": "Hygiena plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Glasnost tona dotika" "name": "Glasnost tona dotika"
},
"hygiene": {
"name": "Higiena plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Jačina tona dodira" "name": "Jačina tona dodira"
},
"hygiene": {
"name": "Higijenski plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "Dokunma tonu seviyesi" "name": "Dokunma tonu seviyesi"
},
"hygiene": {
"name": "Hygiene plus"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -1772,6 +1772,9 @@
}, },
"touch_tone": { "touch_tone": {
"name": "按键音量" "name": "按键音量"
},
"hygiene": {
"name": "卫生增强"
} }
}, },
"binary_sensor": { "binary_sensor": {

View file

@ -240,6 +240,7 @@ NAMES = {
"super_freeze": "REF_CMD&CTRL.MODALITIES.SUPER_FREEZE", "super_freeze": "REF_CMD&CTRL.MODALITIES.SUPER_FREEZE",
"refrigerator": "REF.NAME", "refrigerator": "REF.NAME",
"touch_tone": "AP.FOOTER_MENU_MORE.TOUCH_TONE_VOLUME", "touch_tone": "AP.FOOTER_MENU_MORE.TOUCH_TONE_VOLUME",
"hygiene": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.HYGIENE",
}, },
"binary_sensor": { "binary_sensor": {
"door_lock": "WASHING_CMD&CTRL.CHECK_UP_RESULTS.DOOR_LOCK", "door_lock": "WASHING_CMD&CTRL.CHECK_UP_RESULTS.DOOR_LOCK",