Improve icons/translations of air purifier #72

This commit is contained in:
Andre Basche 2023-07-12 00:18:44 +02:00
parent a9e21608d8
commit f3325f0ff5
23 changed files with 250 additions and 7 deletions

View file

@ -181,7 +181,7 @@ For every device exists a button under diagnostics which can be used to log all
| --- | --- | --- | --- | | --- | --- | --- | --- |
| Aroma Time Off | `scent-off` | `number` | `settings.aromaTimeOff` | | Aroma Time Off | `scent-off` | `number` | `settings.aromaTimeOff` |
| Aroma Time On | `scent` | `number` | `settings.aromaTimeOn` | | Aroma Time On | `scent` | `number` | `settings.aromaTimeOn` |
| Diffuser Level | `air-filter` | `select` | `settings.aromaStatus` | | Diffuser Level | `air-purifier` | `select` | `settings.aromaStatus` |
| Light status | | `light` | `settings.lightStatus` | | Light status | | `light` | `settings.lightStatus` |
| Lock Status | | `lock` | `lockStatus` | | Lock Status | | `lock` | `lockStatus` |
| Mode | `play` | `select` | `settings.machMode` | | Mode | `play` | `select` | `settings.machMode` |
@ -190,19 +190,19 @@ For every device exists a button under diagnostics which can be used to log all
#### Sensors #### Sensors
| Name | Icon | Entity | Key | | Name | Icon | Entity | Key |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| Air Quality | | `sensor` | `airQuality` | | Air Quality | `weather-dust` | `sensor` | `airQuality` |
| CO Level | | `sensor` | `coLevel` | | CO Level | | `sensor` | `coLevel` |
| Error | `math-log` | `sensor` | `errors` | | Error | `math-log` | `sensor` | `errors` |
| Humidity | | `sensor` | `humidityIndoor` | | Humidity | | `sensor` | `humidityIndoor` |
| Main Filter Status | | `sensor` | `mainFilterStatus` | | Main Filter Status | `air-filter` | `sensor` | `mainFilterStatus` |
| On | `power-cycle` | `binary_sensor` | `attributes.parameters.onOffStatus` | | On | `power-cycle` | `binary_sensor` | `attributes.parameters.onOffStatus` |
| PM 10 | | `sensor` | `pm10ValueIndoor` | | PM 10 | | `sensor` | `pm10ValueIndoor` |
| PM 2.5 | | `sensor` | `pm2p5ValueIndoor` | | PM 2.5 | | `sensor` | `pm2p5ValueIndoor` |
| Pre Filter Status | | `sensor` | `preFilterStatus` | | Pre Filter Status | `air-filter` | `sensor` | `preFilterStatus` |
| Temperature | | `sensor` | `temp` | | Temperature | | `sensor` | `temp` |
| Total Work Time | | `sensor` | `totalWorkTime` | | Total Work Time | | `sensor` | `totalWorkTime` |
| VOC | | `sensor` | `vocValueIndoor` | | VOC | | `sensor` | `vocValueIndoor` |
| Wind Speed | | `sensor` | `windSpeed` | | Wind Speed | `fan` | `sensor` | `windSpeed` |
### Dish Washer ### Dish Washer
#### Controls #### Controls

View file

@ -153,7 +153,7 @@ SELECTS = {
name="Diffuser Level", name="Diffuser Level",
option_list=const.AP_DIFFUSER_LEVEL, option_list=const.AP_DIFFUSER_LEVEL,
translation_key="diffuser", translation_key="diffuser",
icon="mdi:air-filter", icon="mdi:air-purifier",
), ),
HonSelectEntityDescription( HonSelectEntityDescription(
key="settings.machMode", key="settings.machMode",

View file

@ -688,11 +688,15 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
HonSensorEntityDescription( HonSensorEntityDescription(
key="mainFilterStatus", key="mainFilterStatus",
name="Main Filter Status", name="Main Filter Status",
icon="mdi:air-filter",
translation_key="filter_life",
native_unit_of_measurement=PERCENTAGE, native_unit_of_measurement=PERCENTAGE,
), ),
HonSensorEntityDescription( HonSensorEntityDescription(
key="preFilterStatus", key="preFilterStatus",
name="Pre Filter Status", name="Pre Filter Status",
icon="mdi:air-filter",
translation_key="filter_cleaning",
native_unit_of_measurement=PERCENTAGE, native_unit_of_measurement=PERCENTAGE,
), ),
HonSensorEntityDescription( HonSensorEntityDescription(
@ -746,10 +750,17 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
native_unit_of_measurement=UnitOfTemperature.CELSIUS, native_unit_of_measurement=UnitOfTemperature.CELSIUS,
translation_key="temperature", translation_key="temperature",
), ),
HonSensorEntityDescription(key="windSpeed", name="Wind Speed"), HonSensorEntityDescription(
key="windSpeed",
name="Wind Speed",
icon="mdi:fan",
translation_key="fan_speed",
),
HonSensorEntityDescription( HonSensorEntityDescription(
key="airQuality", key="airQuality",
name="Air Quality", name="Air Quality",
icon="mdi:weather-dust",
translation_key="air_quality",
), ),
), ),
} }

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Úroveň páry" "name": "Úroveň páry"
},
"filter_cleaning": {
"name": "Čištění filtru"
},
"filter_life": {
"name": "Životnost filtru"
},
"air_quality": {
"name": "Kvalita vzduchu"
},
"fan_speed": {
"name": "Rychlost ventilátoru"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetik" "synthetic": "Synthetik"
}, },
"name": "Dampfstufe" "name": "Dampfstufe"
},
"filter_cleaning": {
"name": "Reinigung der Filter"
},
"filter_life": {
"name": "Filterlebensdauer"
},
"air_quality": {
"name": "Luftqualität"
},
"fan_speed": {
"name": "Gebläsegeschwindigkeit"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Συνθετικά" "synthetic": "Συνθετικά"
}, },
"name": "Επίπεδο ατμού" "name": "Επίπεδο ατμού"
},
"filter_cleaning": {
"name": "Καθαρισμός φίλτρου"
},
"filter_life": {
"name": "Φιλτράρετε τη ζωή"
},
"air_quality": {
"name": "Ποιότητα αέρα"
},
"fan_speed": {
"name": "Ταχύτητα ανεμιστήρα"
} }
}, },
"select": { "select": {

View file

@ -895,6 +895,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Steam Level" "name": "Steam Level"
},
"filter_cleaning": {
"name": "Filter cleaning"
},
"filter_life": {
"name": "Filter life"
},
"air_quality": {
"name": "Air Quality"
},
"fan_speed": {
"name": "Fan speed"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Nivel de vapor" "name": "Nivel de vapor"
},
"filter_cleaning": {
"name": "Limpieza del filtro"
},
"filter_life": {
"name": "Vida del filtro"
},
"air_quality": {
"name": "Calidad del aire"
},
"fan_speed": {
"name": "Velocidad del ventilador"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Niveau de vapeur" "name": "Niveau de vapeur"
},
"filter_cleaning": {
"name": "Nettoyage du filtre"
},
"filter_life": {
"name": "Durée de vie du filtre"
},
"air_quality": {
"name": "Qualité dair"
},
"fan_speed": {
"name": "Vitesse du ventilateur"
} }
}, },
"select": { "select": {

View file

@ -431,6 +431,18 @@
"synthetic": "מְלָאכוּתִי" "synthetic": "מְלָאכוּתִי"
}, },
"name": "מפלס קיטור" "name": "מפלס קיטור"
},
"filter_cleaning": {
"name": "Filter cleaning"
},
"filter_life": {
"name": "Filter life"
},
"air_quality": {
"name": "Air Quality"
},
"fan_speed": {
"name": "Fan speed"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Sintetika" "synthetic": "Sintetika"
}, },
"name": "Razina pare" "name": "Razina pare"
},
"filter_cleaning": {
"name": "Čišćenje filtra"
},
"filter_life": {
"name": "Radni vijek filtra"
},
"air_quality": {
"name": "Kvaliteta zraka"
},
"fan_speed": {
"name": "Brzina ventilatora"
} }
}, },
"select": { "select": {

View file

@ -880,6 +880,18 @@
"synthetic": "Sintetici" "synthetic": "Sintetici"
}, },
"name": "Livello vapore" "name": "Livello vapore"
},
"filter_cleaning": {
"name": "Pulizia del filtro"
},
"filter_life": {
"name": "Durata filtro"
},
"air_quality": {
"name": "Qualità dell'Aria"
},
"fan_speed": {
"name": "Velocità ventole"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Stoomniveau" "name": "Stoomniveau"
},
"filter_cleaning": {
"name": "Filterreiniging"
},
"filter_life": {
"name": "Levensduur filter"
},
"air_quality": {
"name": "Luchtkwaliteit"
},
"fan_speed": {
"name": "Ventilatorsnelheid"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Syntetyczne" "synthetic": "Syntetyczne"
}, },
"name": "Poziom pary" "name": "Poziom pary"
},
"filter_cleaning": {
"name": "Czyszczenie filtra"
},
"filter_life": {
"name": "Żywotność filtra"
},
"air_quality": {
"name": "Jakość powietrza"
},
"fan_speed": {
"name": "Prędkość wentylatora"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Sintéticos" "synthetic": "Sintéticos"
}, },
"name": "Nível de vapor" "name": "Nível de vapor"
},
"filter_cleaning": {
"name": "Limpeza do filtro"
},
"filter_life": {
"name": "Vida do filtro"
},
"air_quality": {
"name": "Qualidade do ar"
},
"fan_speed": {
"name": "Velocidade da bomba"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Nivel abur" "name": "Nivel abur"
},
"filter_cleaning": {
"name": "Curățarea filtrului"
},
"filter_life": {
"name": "Viața filtrului"
},
"air_quality": {
"name": "Calitatea aerului"
},
"fan_speed": {
"name": "Viteza ventilatorului"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Синтетика" "synthetic": "Синтетика"
}, },
"name": "Уровень пара" "name": "Уровень пара"
},
"filter_cleaning": {
"name": "Чистка фильтра"
},
"filter_life": {
"name": "Срок службы фильтра"
},
"air_quality": {
"name": "Качество воздуха"
},
"fan_speed": {
"name": "Скорость вентилятора"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Úroveň nastavenia pary" "name": "Úroveň nastavenia pary"
},
"filter_cleaning": {
"name": "Čistenie filtra"
},
"filter_life": {
"name": "Životnosť filtra"
},
"air_quality": {
"name": "Kvalita vzduchu"
},
"fan_speed": {
"name": "Rýchlosť ventilátora"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Sintetika" "synthetic": "Sintetika"
}, },
"name": "Količina pare" "name": "Količina pare"
},
"filter_cleaning": {
"name": "Čiščenje filtra"
},
"filter_life": {
"name": "Življenjska doba filtra"
},
"air_quality": {
"name": "Kakovost zraka"
},
"fan_speed": {
"name": "Hitrost ventilatorja"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Sintetika" "synthetic": "Sintetika"
}, },
"name": "Nivo pare" "name": "Nivo pare"
},
"filter_cleaning": {
"name": "Čišćenje filtera"
},
"filter_life": {
"name": "Trajanje filtera"
},
"air_quality": {
"name": "Kvalitet vazduha"
},
"fan_speed": {
"name": "Brzina ventilatora"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "Buhar Seviyesi" "name": "Buhar Seviyesi"
},
"filter_cleaning": {
"name": "Filtre temizliği"
},
"filter_life": {
"name": "Filtre ömrü"
},
"air_quality": {
"name": "Hava kalitesi"
},
"fan_speed": {
"name": "Fan hızı"
} }
}, },
"select": { "select": {

View file

@ -875,6 +875,18 @@
"synthetic": "Synthetic" "synthetic": "Synthetic"
}, },
"name": "蒸汽档位" "name": "蒸汽档位"
},
"filter_cleaning": {
"name": "滤网清洁"
},
"filter_life": {
"name": "过滤器寿命"
},
"air_quality": {
"name": "空气质量"
},
"fan_speed": {
"name": "风扇速度"
} }
}, },
"select": { "select": {

View file

@ -350,6 +350,10 @@ NAMES = {
"programs_ac": "WC.SET_PROGRAM.PROGRAM", "programs_ac": "WC.SET_PROGRAM.PROGRAM",
"programs_ref": "WC.SET_PROGRAM.PROGRAM", "programs_ref": "WC.SET_PROGRAM.PROGRAM",
"voc": "HINTS.WHAT_POLLUTES_THE_AIR_IN_OUR_HOMES.GAS_VOC_TITLE", "voc": "HINTS.WHAT_POLLUTES_THE_AIR_IN_OUR_HOMES.GAS_VOC_TITLE",
"filter_cleaning": "AP.MAINTENANCE.FILTER_CLEANING",
"filter_life": "AP.MAINTENANCE.FILTER_LIFE",
"air_quality": "AP.DISCOVER.AIR_QUALITY",
"fan_speed": "AP.TITLES.FAN_SPEED",
}, },
"number": { "number": {
"power_management": "HINTS.COOKING_WITH_INDUCTION.POWER_MANAGEMENT", "power_management": "HINTS.COOKING_WITH_INDUCTION.POWER_MANAGEMENT",