Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre0512 committed Jun 30, 2023
1 parent 97637ef commit e33a609
Show file tree
Hide file tree
Showing 22 changed files with 360 additions and 288 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ For every device exists a button under diagnostics which can be used to log all
| Aroma Time Off | `thermometer` | `number` | `settings.aromaTimeOff` |
| Aroma Time On | `thermometer` | `number` | `settings.aromaTimeOn` |
| Diffuser Level | | `select` | `settings.aromaStatus` |
| Light status | `lightbulb` | `number` | `settings.lightStatus` |
| Light status | | `light` | `settings.lightStatus` |
| Lock Status | | `switch` | `lockStatus` |
| Mode | `run` | `select` | `settings.machMode` |
| Pollen Level | | `number` | `settings.pollenLevel` |
Expand Down Expand Up @@ -258,7 +258,7 @@ For every device exists a button under diagnostics which can be used to log all
| Filter Cleaning Status | | `sensor` | `filterCleaningStatus` |
| Last Work Time | `clock-start` | `sensor` | `lastWorkTime` |
| Light Status | `lightbulb` | `sensor` | `lightStatus` |
| Light status | `lightbulb` | `number` | `startProgram.lightStatus` |
| Light status | | `light` | `startProgram.lightStatus` |
| Mach Mode | | `sensor` | `machMode` |
| On / Off Status | `lightbulb` | `sensor` | `onOffStatus` |
| Quick Delay Time Status | | `sensor` | `quickDelayTimeStatus` |
Expand Down Expand Up @@ -391,7 +391,7 @@ For every device exists a button under diagnostics which can be used to log all
#### Controls
| Name | Icon | Entity | Key |
| --- | --- | --- | --- |
| Light | `lightbulb` | `switch` | `lightStatus` |
| Light | | `light` | `settings.lightStatus` |
| Sabbath Mode | `palm-tree` | `switch` | `sabbathStatus` |
| Wine Cellar | `thermometer` | `climate` | `settings.tempSel` |
| Wine Cellar | `thermometer` | `climate` | `settings.tempSelZ2` |
Expand Down
4 changes: 2 additions & 2 deletions custom_components/hon/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
_LOGGER = logging.getLogger(__name__)


FANS = {
LIGHTS = {
"WC": (LightEntityDescription(key="settings.lightStatus", name="Light"),),
"HO": (
LightEntityDescription(
Expand All @@ -33,7 +33,7 @@
async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> None:
entities = []
for device in hass.data[DOMAIN][entry.unique_id].appliances:
for description in FANS.get(device.appliance_type, []):
for description in LIGHTS.get(device.appliance_type, []):
if (
description.key not in device.available_settings
or device.get(description.key.split(".")[-1]) is None
Expand Down
36 changes: 20 additions & 16 deletions custom_components/hon/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rinse": "Máchání",
"drying": "Sušení",
"steam": "Pára",
"weighting": "Vážení ",
"weighting": "Vážení",
"scheduled": "Naplánováno",
"tumbling": "Keep Fresh",
"refresh": "Osvěžení",
Expand Down Expand Up @@ -81,7 +81,7 @@
"iot_nano_aqua": "Nano Aqua",
"iot_purify": "Automatické čištění",
"iot_self_clean": "Samočištění zamrazením",
"iot_self_clean_56": "Samočištění 56°C sterilizace ",
"iot_self_clean_56": "Samočištění 56°C sterilizace",
"iot_simple_start": "Spustit nyní",
"iot_uv": "UV",
"iot_uv_and_auto": "UV + auto",
Expand All @@ -97,7 +97,9 @@
"59_min": "Rychlý 59'",
"auto_care": "Auto Care",
"auto_care_soil": "Auto Care",
"auto_hygiene": "Aut. Hygienický",
"auto_plus": "AutoPlus",
"auto_rapid": "Aut. Rychlý",
"auto_sensor": "Auto Sensor",
"auto_sensor_soil": "Auto Sensor",
"auto_universal": "Auto univerzální 50 -60°C",
Expand Down Expand Up @@ -326,7 +328,7 @@
"hqd_bulky": "Objemné kusy",
"hqd_casual": "Casual",
"hqd_cold_wind_30": "Chladný vánek 30 minut",
"hqd_cold_wind_timing": "Chladný vánek ",
"hqd_cold_wind_timing": "Chladný vánek",
"hqd_cotton": "Bavlna",
"hqd_curtain": "Záclony",
"hqd_delicate": "Jemné",
Expand All @@ -346,7 +348,7 @@
"hqd_precious_cure": "Precious cure",
"hqd_quick_20": "Rychlý 20",
"hqd_quick_30": "Rychlý 30",
"hqd_quick_dry": "Rychlé sušení 30",
"hqd_quick_dry": "Rychlé sušení 30'",
"hqd_quilt": "Deky",
"hqd_refresh": "Osvěžení",
"hqd_school_uniform": "Školní uniformy",
Expand Down Expand Up @@ -554,7 +556,7 @@
"iot_smart_wash": "Chytré praní",
"iot_soft_care_steam": "Soft Care + Steam",
"iot_special_39_full_load_steam": "Speciální 39' + pára",
"iot_steam_hygiene_plus": "Hygiena plus pára ",
"iot_steam_hygiene_plus": "Hygiena plus pára",
"iot_synthetic_and_coloured_steam": "Syntetika a barevné + pára",
"iot_wash_and_dry": "Praní a sušení",
"iot_wash_anti_mites": "Proti roztočům",
Expand Down Expand Up @@ -725,7 +727,7 @@
"steam_care_pro_cotton": "Steam Care Pro – bavlna",
"steam_care_pro_delicates": "Steam Care Pro – jemné",
"steam_care_pro_synthetic": "Steam Care Pro – syntetika",
"steam_hygiene_plus": "Hygiena plus pára ",
"steam_hygiene_plus": "Hygiena plus pára",
"synthetics": "Syntetika",
"synthetic_and_coloured": "Syntetika a barevné",
"synthetic_and_coloured_steam": "Syntetika a barevné + pára",
Expand Down Expand Up @@ -881,7 +883,7 @@
"fan_mode": {
"state": {
"high": "Vysoký",
"mid": "Střední ",
"mid": "Střední",
"low": "Nízký",
"auto": "Auto"
}
Expand All @@ -906,7 +908,7 @@
"iot_nano_aqua": "Nano Aqua",
"iot_purify": "Automatické čištění",
"iot_self_clean": "Samočištění zamrazením",
"iot_self_clean_56": "Samočištění 56°C sterilizace ",
"iot_self_clean_56": "Samočištění 56°C sterilizace",
"iot_simple_start": "Spustit nyní",
"iot_uv": "UV",
"iot_uv_and_auto": "UV + auto",
Expand All @@ -922,7 +924,9 @@
"59_min": "Rychlý 59'",
"auto_care": "Auto Care",
"auto_care_soil": "Auto Care",
"auto_hygiene": "Aut. Hygienický",
"auto_plus": "AutoPlus",
"auto_rapid": "Aut. Rychlý",
"auto_sensor": "Auto Sensor",
"auto_sensor_soil": "Auto Sensor",
"auto_universal": "Auto univerzální 50 -60°C",
Expand Down Expand Up @@ -1151,7 +1155,7 @@
"hqd_bulky": "Objemné kusy",
"hqd_casual": "Casual",
"hqd_cold_wind_30": "Chladný vánek 30 minut",
"hqd_cold_wind_timing": "Chladný vánek ",
"hqd_cold_wind_timing": "Chladný vánek",
"hqd_cotton": "Bavlna",
"hqd_curtain": "Záclony",
"hqd_delicate": "Jemné",
Expand All @@ -1171,7 +1175,7 @@
"hqd_precious_cure": "Precious cure",
"hqd_quick_20": "Rychlý 20",
"hqd_quick_30": "Rychlý 30",
"hqd_quick_dry": "Rychlé sušení 30",
"hqd_quick_dry": "Rychlé sušení 30'",
"hqd_quilt": "Deky",
"hqd_refresh": "Osvěžení",
"hqd_school_uniform": "Školní uniformy",
Expand Down Expand Up @@ -1379,7 +1383,7 @@
"iot_smart_wash": "Chytré praní",
"iot_soft_care_steam": "Soft Care + Steam",
"iot_special_39_full_load_steam": "Speciální 39' + pára",
"iot_steam_hygiene_plus": "Hygiena plus pára ",
"iot_steam_hygiene_plus": "Hygiena plus pára",
"iot_synthetic_and_coloured_steam": "Syntetika a barevné + pára",
"iot_wash_and_dry": "Praní a sušení",
"iot_wash_anti_mites": "Proti roztočům",
Expand Down Expand Up @@ -1550,7 +1554,7 @@
"steam_care_pro_cotton": "Steam Care Pro – bavlna",
"steam_care_pro_delicates": "Steam Care Pro – jemné",
"steam_care_pro_synthetic": "Steam Care Pro – syntetika",
"steam_hygiene_plus": "Hygiena plus pára ",
"steam_hygiene_plus": "Hygiena plus pára",
"synthetics": "Syntetika",
"synthetic_and_coloured": "Syntetika a barevné",
"synthetic_and_coloured_steam": "Syntetika a barevné + pára",
Expand Down Expand Up @@ -1642,7 +1646,7 @@
"name": "Trouba"
},
"prewash": {
"name": "Předpírka\r\r\r\r\r\r\r\n"
"name": "Předpírka"
},
"pause": {
"name": "Pozastavit"
Expand All @@ -1666,7 +1670,7 @@
"name": "Samočištění zamrazením"
},
"self_clean_56": {
"name": "Samočištění 56°C sterilizace "
"name": "Samočištění 56°C sterilizace"
},
"silent_mode": {
"name": "Tichý režim"
Expand Down Expand Up @@ -1764,7 +1768,7 @@
"name": "Zapnout"
},
"prewash": {
"name": "Předpírka\r\r\r\r\r\r\r\n"
"name": "Předpírka"
},
"buzzer": {
"name": "Zvuková signalizace konce cyklu"
Expand Down Expand Up @@ -1856,7 +1860,7 @@
"iot_nano_aqua": "Nano Aqua",
"iot_purify": "Automatické čištění",
"iot_self_clean": "Samočištění zamrazením",
"iot_self_clean_56": "Samočištění 56°C sterilizace ",
"iot_self_clean_56": "Samočištění 56°C sterilizace",
"iot_simple_start": "Spustit nyní",
"iot_uv": "UV",
"iot_uv_and_auto": "UV + auto",
Expand Down
28 changes: 16 additions & 12 deletions custom_components/hon/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rinse": "Spülen",
"drying": "Trocknen",
"steam": "Dampf",
"weighting": "Wiegen ",
"weighting": "Wiegen",
"scheduled": "Geplant",
"tumbling": "Auffrischen",
"refresh": "Auffrischen",
Expand Down Expand Up @@ -97,7 +97,9 @@
"59_min": "Rapid 59'",
"auto_care": "Auto Care",
"auto_care_soil": "Auto Care",
"auto_hygiene": "Auto Hygiene",
"auto_plus": "AutoPlus",
"auto_rapid": "Auto Rapid",
"auto_sensor": "Auto Sensor",
"auto_sensor_soil": "Auto Sensor",
"auto_universal": "AutoUniversal 50-60°C",
Expand All @@ -119,7 +121,7 @@
"glass_care": "Glass Care",
"hygiene": "Hygiene",
"hygiene_plus": "Hygiene 75 °C",
"intensive": "Intensiv ",
"intensive": "Intensiv",
"intensive_rapid": "Intensiv-Schnellspülgang",
"iot_auto_sensor": "Auto Sensor",
"iot_auto_universal_soil": "AutoUniversal 50-60°C",
Expand Down Expand Up @@ -326,7 +328,7 @@
"hqd_bulky": "Schwere Textilien",
"hqd_casual": "Casual",
"hqd_cold_wind_30": "Kühle Brise 30 Minuten",
"hqd_cold_wind_timing": "Kühle Brise ",
"hqd_cold_wind_timing": "Kühle Brise",
"hqd_cotton": "Baumwolle",
"hqd_curtain": "Vorhänge",
"hqd_delicate": "Feinwäsche",
Expand All @@ -346,7 +348,7 @@
"hqd_precious_cure": "Precious Cure",
"hqd_quick_20": "Schnell 20",
"hqd_quick_30": "Schnell 30",
"hqd_quick_dry": "Schnell trocken 30",
"hqd_quick_dry": "Schnell trocken 30'",
"hqd_quilt": "Steppdecken",
"hqd_refresh": "Auffrischen",
"hqd_school_uniform": "Schuluniform",
Expand Down Expand Up @@ -554,7 +556,7 @@
"iot_smart_wash": "Smart Wash",
"iot_soft_care_steam": "Soft Care + Steam",
"iot_special_39_full_load_steam": "Special 39' + Dampf",
"iot_steam_hygiene_plus": "Hygiene Plus Dampf ",
"iot_steam_hygiene_plus": "Hygiene Plus Dampf",
"iot_synthetic_and_coloured_steam": "Synthetik und Farben + Dampf",
"iot_wash_and_dry": "Waschen und trocknen",
"iot_wash_anti_mites": "Milbenbekämpfung",
Expand Down Expand Up @@ -725,7 +727,7 @@
"steam_care_pro_cotton": "Steam Care Pro - Baumwolle",
"steam_care_pro_delicates": "Steam Care Pro - Feinwäsche",
"steam_care_pro_synthetic": "Steam Care Pro - Synthetik",
"steam_hygiene_plus": "Hygiene Plus Dampf ",
"steam_hygiene_plus": "Hygiene Plus Dampf",
"synthetics": "Synthetik",
"synthetic_and_coloured": "Synthetik und Farben",
"synthetic_and_coloured_steam": "Synthetik und Farben + Dampf",
Expand Down Expand Up @@ -881,7 +883,7 @@
"fan_mode": {
"state": {
"high": "Hoch",
"mid": "Mittel ",
"mid": "Mittel",
"low": "Niedrig",
"auto": "Auto"
}
Expand Down Expand Up @@ -922,7 +924,9 @@
"59_min": "Rapid 59'",
"auto_care": "Auto Care",
"auto_care_soil": "Auto Care",
"auto_hygiene": "Auto Hygiene",
"auto_plus": "AutoPlus",
"auto_rapid": "Auto Rapid",
"auto_sensor": "Auto Sensor",
"auto_sensor_soil": "Auto Sensor",
"auto_universal": "AutoUniversal 50-60°C",
Expand All @@ -944,7 +948,7 @@
"glass_care": "Glass Care",
"hygiene": "Hygiene",
"hygiene_plus": "Hygiene 75 °C",
"intensive": "Intensiv ",
"intensive": "Intensiv",
"intensive_rapid": "Intensiv-Schnellspülgang",
"iot_auto_sensor": "Auto Sensor",
"iot_auto_universal_soil": "AutoUniversal 50-60°C",
Expand Down Expand Up @@ -1151,7 +1155,7 @@
"hqd_bulky": "Schwere Textilien",
"hqd_casual": "Casual",
"hqd_cold_wind_30": "Kühle Brise 30 Minuten",
"hqd_cold_wind_timing": "Kühle Brise ",
"hqd_cold_wind_timing": "Kühle Brise",
"hqd_cotton": "Baumwolle",
"hqd_curtain": "Vorhänge",
"hqd_delicate": "Feinwäsche",
Expand All @@ -1171,7 +1175,7 @@
"hqd_precious_cure": "Precious Cure",
"hqd_quick_20": "Schnell 20",
"hqd_quick_30": "Schnell 30",
"hqd_quick_dry": "Schnell trocken 30",
"hqd_quick_dry": "Schnell trocken 30'",
"hqd_quilt": "Steppdecken",
"hqd_refresh": "Auffrischen",
"hqd_school_uniform": "Schuluniform",
Expand Down Expand Up @@ -1379,7 +1383,7 @@
"iot_smart_wash": "Smart Wash",
"iot_soft_care_steam": "Soft Care + Steam",
"iot_special_39_full_load_steam": "Special 39' + Dampf",
"iot_steam_hygiene_plus": "Hygiene Plus Dampf ",
"iot_steam_hygiene_plus": "Hygiene Plus Dampf",
"iot_synthetic_and_coloured_steam": "Synthetik und Farben + Dampf",
"iot_wash_and_dry": "Waschen und trocknen",
"iot_wash_anti_mites": "Milbenbekämpfung",
Expand Down Expand Up @@ -1550,7 +1554,7 @@
"steam_care_pro_cotton": "Steam Care Pro - Baumwolle",
"steam_care_pro_delicates": "Steam Care Pro - Feinwäsche",
"steam_care_pro_synthetic": "Steam Care Pro - Synthetik",
"steam_hygiene_plus": "Hygiene Plus Dampf ",
"steam_hygiene_plus": "Hygiene Plus Dampf",
"synthetics": "Synthetik",
"synthetic_and_coloured": "Synthetik und Farben",
"synthetic_and_coloured_steam": "Synthetik und Farben + Dampf",
Expand Down
Loading

0 comments on commit e33a609

Please sign in to comment.