Add hygiene switch #91
This commit is contained in:
		@@ -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 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
 | 
			
		||||
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` |
 | 
			
		||||
| Hygiene | `lotion-plus` | `switch` | `startProgram.hygiene` |
 | 
			
		||||
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` |
 | 
			
		||||
| Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
 | 
			
		||||
| 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 3 | `numeric-3-box-multiple-outline` | `switch` | `startProgram.extraRinse3` |
 | 
			
		||||
| Good Night | `weather-night` | `switch` | `startProgram.goodNight` |
 | 
			
		||||
| Hygiene | `lotion-plus` | `switch` | `startProgram.hygiene` |
 | 
			
		||||
| Keep Fresh | `refresh-circle` | `switch` | `startProgram.permanentPressStatus` |
 | 
			
		||||
| Liquid Detergent Dose | `cup-water` | `sensor` | `startProgram.liquidDetergentDose` |
 | 
			
		||||
| Main Wash Time | `clock-start` | `number` | `startProgram.mainWashTime` |
 | 
			
		||||
 
 | 
			
		||||
@@ -116,6 +116,12 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
 | 
			
		||||
            icon="mdi:weather-night",
 | 
			
		||||
            translation_key="good_night",
 | 
			
		||||
        ),
 | 
			
		||||
        HonConfigSwitchEntityDescription(
 | 
			
		||||
            key="startProgram.hygiene",
 | 
			
		||||
            name="Hygiene",
 | 
			
		||||
            icon="mdi:lotion-plus",
 | 
			
		||||
            translation_key="hygiene",
 | 
			
		||||
        ),
 | 
			
		||||
    ),
 | 
			
		||||
    "TD": (
 | 
			
		||||
        HonControlSwitchEntityDescription(
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Hlasitost tónu klepnutí"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygienický plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Tastentonlautstärke"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Ένταση τόνου αφής"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1799,6 +1799,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Touch tone volume"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volumen del tono táctil"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Higiene extra"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volume des tonalités"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiène plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -893,6 +893,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Touch tone volume"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "היגיינה פלוס"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Glasnoća tona pri dodiru"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene Plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1777,6 +1777,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volume Tasti"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volume van geluid bij aanraking"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiëne plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Dźwięk przycisku dotykowego"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Higiena plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volume do tom de toque"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Higiene mais"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Volum la atingerea tastelor"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Igienizare plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Громкость сенсорных кнопок"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Гигиена плюс"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Hlasitosť tónu dotyku"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiena plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Glasnost tona dotika"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Higiena plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Jačina tona dodira"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Higijenski plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "Dokunma tonu seviyesi"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "Hygiene plus"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1772,6 +1772,9 @@
 | 
			
		||||
            },
 | 
			
		||||
            "touch_tone": {
 | 
			
		||||
                "name": "按键音量"
 | 
			
		||||
            },
 | 
			
		||||
            "hygiene": {
 | 
			
		||||
                "name": "卫生增强"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "binary_sensor": {
 | 
			
		||||
 
 | 
			
		||||
@@ -240,6 +240,7 @@ NAMES = {
 | 
			
		||||
        "super_freeze": "REF_CMD&CTRL.MODALITIES.SUPER_FREEZE",
 | 
			
		||||
        "refrigerator": "REF.NAME",
 | 
			
		||||
        "touch_tone": "AP.FOOTER_MENU_MORE.TOUCH_TONE_VOLUME",
 | 
			
		||||
        "hygiene": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.HYGIENE",
 | 
			
		||||
    },
 | 
			
		||||
    "binary_sensor": {
 | 
			
		||||
        "door_lock": "WASHING_CMD&CTRL.CHECK_UP_RESULTS.DOOR_LOCK",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user