Add dirt level select entity

This commit is contained in:
Andre Basche 2023-07-10 00:48:57 +02:00
parent 35a07932e6
commit 9dc98953a2
23 changed files with 185 additions and 3 deletions

View file

@ -56,6 +56,13 @@ SELECTS = {
translation_key="steam_level",
option_list=const.STEAM_LEVEL,
),
HonConfigSelectEntityDescription(
key="startProgram.dirtyLevel",
name="Dirty level",
icon="mdi:liquid-spot",
translation_key="dirt_level",
option_list=const.DIRTY_LEVEL,
),
),
"TD": (
HonConfigSelectEntityDescription(

View file

@ -157,7 +157,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
),
HonSensorEntityDescription(
key="dirtyLevel",
name="Dirt level",
name="Dirty level",
icon="mdi:liquid-spot",
device_class=SensorDeviceClass.ENUM,
translation_key="dirt_level",

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Úroveň páry"
},
"dirt_level": {
"state": {
"little": "Málo",
"normal": "Normální",
"very": "Velmi",
"unknown": "unknown"
},
"name": "Míra znečištění"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetik"
},
"name": "Dampfstufe"
},
"dirt_level": {
"state": {
"little": "Wenig",
"normal": "Normal",
"very": "Sehr",
"unknown": "unknown"
},
"name": "Verschmutzungsgrad"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Συνθετικά"
},
"name": "Επίπεδο ατμού"
},
"dirt_level": {
"state": {
"little": "Λίγη",
"normal": "Κανονική",
"very": "Πολύ",
"unknown": "unknown"
},
"name": "Επίπεδο βρωμιάς"
}
},
"switch": {

View file

@ -1677,6 +1677,15 @@
"synthetic": "Synthetic"
},
"name": "Steam Level"
},
"dirt_level": {
"state": {
"little": "Little",
"normal": "Normal",
"very": "Very",
"unknown": "unknown"
},
"name": "Dirt level"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Nivel de vapor"
},
"dirt_level": {
"state": {
"little": "Poco",
"normal": "Normal",
"very": "Mucho",
"unknown": "unknown"
},
"name": "Nivel de suciedad"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Niveau de vapeur"
},
"dirt_level": {
"state": {
"little": "Faible",
"normal": "Normal",
"very": "Élevé",
"unknown": "unknown"
},
"name": "Niveau de saleté"
}
},
"switch": {

View file

@ -771,6 +771,15 @@
"synthetic": "מְלָאכוּתִי"
},
"name": "מפלס קיטור"
},
"dirt_level": {
"state": {
"little": "קטן",
"normal": "נוֹרמָלִי",
"very": "מאוד",
"unknown": "unknown"
},
"name": "רמת עפר"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Sintetika"
},
"name": "Razina pare"
},
"dirt_level": {
"state": {
"little": "Neznatno",
"normal": "Uobičajeno",
"very": "Izuzetno",
"unknown": "unknown"
},
"name": "Stupanj zaprljanosti"
}
},
"switch": {

View file

@ -1655,6 +1655,15 @@
"synthetic": "Sintetici"
},
"name": "Livello vapore"
},
"dirt_level": {
"state": {
"little": "Poco",
"normal": "Normale",
"very": "Molto",
"unknown": "unknown"
},
"name": "Livello di sporco"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Stoomniveau"
},
"dirt_level": {
"state": {
"little": "Weinig",
"normal": "Normaal",
"very": "Heel",
"unknown": "unknown"
},
"name": "Vuilheid"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Syntetyczne"
},
"name": "Poziom pary"
},
"dirt_level": {
"state": {
"little": "Niskie",
"normal": "Standardowe",
"very": "Wysokie",
"unknown": "unknown"
},
"name": "Stopień zabrudzenia"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Sintéticos"
},
"name": "Nível de vapor"
},
"dirt_level": {
"state": {
"little": "Pouco",
"normal": "Normal",
"very": "Muito",
"unknown": "unknown"
},
"name": "Nível de sujidade"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Nivel abur"
},
"dirt_level": {
"state": {
"little": "Puțin",
"normal": "Normal",
"very": "Foarte",
"unknown": "unknown"
},
"name": "Nivel de murdărie"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Синтетика"
},
"name": "Уровень пара"
},
"dirt_level": {
"state": {
"little": "Мало",
"normal": "Нормально",
"very": "Очень",
"unknown": "unknown"
},
"name": "Уровень загрязнения"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Úroveň nastavenia pary"
},
"dirt_level": {
"state": {
"little": "Málo",
"normal": "Normálne",
"very": "Veľa",
"unknown": "unknown"
},
"name": "Úroveň znečistenia"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Sintetika"
},
"name": "Količina pare"
},
"dirt_level": {
"state": {
"little": "Malo",
"normal": "Normalno",
"very": "Zelo",
"unknown": "unknown"
},
"name": "Stopnja umazanije"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Sintetika"
},
"name": "Nivo pare"
},
"dirt_level": {
"state": {
"little": "Malo",
"normal": "Normalno",
"very": "Veoma",
"unknown": "unknown"
},
"name": "Nivo zaprljanosti"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "Buhar Seviyesi"
},
"dirt_level": {
"state": {
"little": "Az",
"normal": "Normal",
"very": "Çok",
"unknown": "unknown"
},
"name": "Kir seviyesi"
}
},
"switch": {

View file

@ -1650,6 +1650,15 @@
"synthetic": "Synthetic"
},
"name": "蒸汽档位"
},
"dirt_level": {
"state": {
"little": "少量",
"normal": "正常",
"very": "非常",
"unknown": "unknown"
},
"name": "脏污程度"
}
},
"switch": {