From f0fb5742a47a67dc094104d7fa774858d7dde977 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Wed, 19 Jul 2023 23:57:33 +0200 Subject: [PATCH] Add compatibility for more fridge models #93 --- README.md | 42 +++++++++++----------- custom_components/hon/binary_sensor.py | 28 +++++++++++---- custom_components/hon/const.py | 2 ++ custom_components/hon/sensor.py | 8 +++++ custom_components/hon/switch.py | 10 ++---- custom_components/hon/translations/cs.json | 8 +++++ custom_components/hon/translations/de.json | 8 +++++ custom_components/hon/translations/el.json | 8 +++++ custom_components/hon/translations/en.json | 8 +++++ custom_components/hon/translations/es.json | 8 +++++ custom_components/hon/translations/fr.json | 8 +++++ custom_components/hon/translations/he.json | 8 +++++ custom_components/hon/translations/hr.json | 8 +++++ custom_components/hon/translations/it.json | 8 +++++ custom_components/hon/translations/nl.json | 8 +++++ custom_components/hon/translations/pl.json | 8 +++++ custom_components/hon/translations/pt.json | 8 +++++ custom_components/hon/translations/ro.json | 8 +++++ custom_components/hon/translations/ru.json | 8 +++++ custom_components/hon/translations/sk.json | 8 +++++ custom_components/hon/translations/sl.json | 8 +++++ custom_components/hon/translations/sr.json | 8 +++++ custom_components/hon/translations/tr.json | 8 +++++ custom_components/hon/translations/zh.json | 8 +++++ info.md | 26 +++++++------- scripts/translation_keys.py | 8 +++++ 26 files changed, 229 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index 3505b4f..38821ba 100644 --- a/README.md +++ b/README.md @@ -38,19 +38,19 @@ _If the integration is not in the list, you need to clear the browser cache._ ## Supported Models Support has been confirmed for these models, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8). -| | **Haier** | **Hoover** | **Candy** | -|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------| -| **Washing Machine** | HW80-B14959TU1DE
HW90-B14TEAM5
HW100-B14959U1 | H-WASH 500
H7W4 48MBC-S
HW 410AMBCB/1-80 | CO4 107T1/2-07
CBWO49TWME-S
RO44 1286DWMC4-07
HW 68AMC/1-80
HWPD 69AMBC/1-S | -| **Tumble Dryer** | HD80-A3959 | H-DRY 500
H9A3TCBEXS-S
HLE C10DCE-80
H5WPB447AMBC/1-S
NDE H10A2TCE-80
NDE H9A2TSBEXS-S
NDPHY10A2TCBEXSS | BCTDH7A1TE
CSOE C10DE-80
ROE H9A3TCEX-S | -| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S
HWPS4954DAMR-11 | RPW41066BWMR/1-S | -| **Oven** | HWO60SM2F3XH | HSOT3161WG | | -| **Dish Washer** | XIB 3B2SFS-80
XIB 6B2D3FB | HFB 6B2S3FX | | -| **Air Conditioner** | AD105S2SM3FA
AS09TS4HRA-M
AS20HPL1HRA
AS25PBAHRA
AS25S2SF1FA-WH
AS25TADHRA-2
AS35PBAHRA
AS35S2SF1FA-WH
AS35S2SF2FA-3
AS35TADHRA-2
AS35TAMHRA-C | | CY-12TAIN | -| **Fridge** | HFW7720ENMB | | CCE4T620EWU | -| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | -| **Hood** | HADG6DS46BWIFI | | | -| **Wine Cellar** | HWS247FDU1 | | | -| **Air Purifier** | | HHP30C011
HHP50CA001
HHP50CA011 | | +| | **Haier** | **Hoover** | **Candy** | +|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------| +| **Washing Machine** | HW80-B14959TU1DE
HW90-B14TEAM5
HW100-B14959U1 | H-WASH 500
H7W4 48MBC-S
HLWPS495TAMBE-11
HW 410AMBCB/1-80 | CO4 107T1/2-07
CBWO49TWME-S
RO44 1286DWMC4-07
HW 68AMC/1-80
HWPD 69AMBC/1-S | +| **Tumble Dryer** | HD80-A3959 | H-DRY 500
H9A3TCBEXS-S
HLE C10DCE-80
H5WPB447AMBC/1-S
NDE H10A2TCE-80
NDE H9A2TSBEXS-S
NDPHY10A2TCBEXSS | BCTDH7A1TE
CSOE C10DE-80
ROE H9A3TCEX-S | +| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S
HWPS4954DAMR-11 | RPW41066BWMR/1-S | +| **Oven** | HWO60SM2F3XH | HSOT3161WG | | +| **Dish Washer** | XIB 3B2SFS-80
XIB 6B2D3FB | HFB 6B2S3FX | | +| **Air Conditioner** | AD105S2SM3FA
AS09TS4HRA-M
AS20HPL1HRA
AS25PBAHRA
AS25S2SF1FA-WH
AS25TADHRA-2
AS35PBAHRA
AS35S2SF1FA-WH
AS35S2SF2FA-3
AS35TADHRA-2
AS35TAMHRA-C
AS35TEDHRA(M1) | | CY-12TAIN | +| **Fridge** | HFW7720ENMB
HFW7819EWMP | | CCE4T620EWU | +| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | +| **Hood** | HADG6DS46BWIFI | | | +| **Wine Cellar** | HWS247FDU1 | | | +| **Air Purifier** | | HHP30C011
HHP50CA001
HHP50CA011 | | | Please add your appliances data to our [hon-test-data collection](https://github.com/Andre0512/hon-test-data).
This helps us to develop new features and not to break compatibility in newer versions. | @@ -338,11 +338,10 @@ For every device exists a button under diagnostics which can be used to log all | Freezer Temperature | `thermometer` | `number` | `settings.tempSelZ2` | | Fridge | `thermometer` | `climate` | `settings.tempSelZ1` | | Fridge Temperature | `thermometer` | `number` | `settings.tempSelZ1` | -| Holiday Mode | `palm-tree` | `switch` | `holidayMode` | | Program Start | `play` | `button` | `startProgram` | | Program Stop | `stop` | `button` | `stopProgram` | -| Super Cool | `snowflake` | `switch` | `quickModeZ2` | -| Super Freeze | `snowflake-variant` | `switch` | `quickModeZ1` | +| Super Cool | `snowflake` | `switch` | `quickModeZ1` | +| Super Freeze | `snowflake-variant` | `switch` | `quickModeZ2` | #### Configs | Name | Icon | Entity | Key | | --- | --- | --- | --- | @@ -352,14 +351,17 @@ For every device exists a button under diagnostics which can be used to log all | Name | Icon | Entity | Key | | --- | --- | --- | --- | | Auto-Set Mode | `thermometer-auto` | `binary_sensor` | `intelligenceMode` | -| Door Status Freezer | `fridge-top` | `binary_sensor` | `doorStatusZ1` | -| Door Status Fridge | `fridge-bottom` | `binary_sensor` | `door2StatusZ1` | +| Door1 Status Freezer | `fridge-bottom` | `binary_sensor` | `doorStatusZ2` | +| Door1 Status Fridge | `fridge-top` | `binary_sensor` | `doorStatusZ1` | +| Door2 Status Freezer | `fridge-bottom` | `binary_sensor` | `door2StatusZ2` | +| Door2 Status Fridge | `fridge-top` | `binary_sensor` | `door2StatusZ1` | | Error | `math-log` | `sensor` | `errors` | | Holiday Mode | `palm-tree` | `binary_sensor` | `holidayMode` | +| Humidity Level | `water-outline` | `sensor` | `humidityLevel` | | Room Humidity | `water-percent` | `sensor` | `humidityEnv` | | Room Temperature | `home-thermometer-outline` | `sensor` | `tempEnv` | -| Super Cool | `snowflake` | `binary_sensor` | `quickModeZ2` | -| Super Freeze | `snowflake-variant` | `binary_sensor` | `quickModeZ1` | +| Super Cool | `snowflake` | `binary_sensor` | `quickModeZ1` | +| Super Freeze | `snowflake-variant` | `binary_sensor` | `quickModeZ2` | | Temperature Freezer | `snowflake-thermometer` | `sensor` | `tempZ2` | | Temperature Fridge | `thermometer` | `sensor` | `tempZ1` | diff --git a/custom_components/hon/binary_sensor.py b/custom_components/hon/binary_sensor.py index 7185231..51ec56c 100644 --- a/custom_components/hon/binary_sensor.py +++ b/custom_components/hon/binary_sensor.py @@ -208,7 +208,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { ), "REF": ( HonBinarySensorEntityDescription( - key="quickModeZ2", + key="quickModeZ1", name="Super Cool", icon="mdi:snowflake", device_class=BinarySensorDeviceClass.RUNNING, @@ -216,7 +216,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { translation_key="super_cool", ), HonBinarySensorEntityDescription( - key="quickModeZ1", + key="quickModeZ2", name="Super Freeze", icon="mdi:snowflake-variant", device_class=BinarySensorDeviceClass.RUNNING, @@ -225,19 +225,35 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { ), HonBinarySensorEntityDescription( key="doorStatusZ1", - name="Door Status Freezer", + name="Door1 Status Fridge", device_class=BinarySensorDeviceClass.DOOR, icon="mdi:fridge-top", on_value=1, + translation_key="fridge_door", + ), + HonBinarySensorEntityDescription( + key="door2StatusZ1", + name="Door2 Status Fridge", + icon="mdi:fridge-top", + device_class=BinarySensorDeviceClass.DOOR, + on_value=1, + translation_key="fridge_door", + ), + HonBinarySensorEntityDescription( + key="doorStatusZ2", + name="Door1 Status Freezer", + icon="mdi:fridge-bottom", + device_class=BinarySensorDeviceClass.DOOR, + on_value=1, translation_key="freezer_door", ), HonBinarySensorEntityDescription( - key="door2StatusZ1", - name="Door Status Fridge", + key="door2StatusZ2", + name="Door2 Status Freezer", icon="mdi:fridge-bottom", device_class=BinarySensorDeviceClass.DOOR, on_value=1, - translation_key="fridge_door", + translation_key="freezer_door", ), HonBinarySensorEntityDescription( key="intelligenceMode", diff --git a/custom_components/hon/const.py b/custom_components/hon/const.py index ad57d8f..57bb3e7 100644 --- a/custom_components/hon/const.py +++ b/custom_components/hon/const.py @@ -224,3 +224,5 @@ AP_DIFFUSER_LEVEL = { 3: "h_biotics", 4: "custom", } + +REF_HUMIDITY_LEVELS = {1: "low", 2: "mid", 3: "high"} diff --git a/custom_components/hon/sensor.py b/custom_components/hon/sensor.py index 5994d95..a1e8cce 100644 --- a/custom_components/hon/sensor.py +++ b/custom_components/hon/sensor.py @@ -545,6 +545,14 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { HonSensorEntityDescription( key="errors", name="Error", icon="mdi:math-log", translation_key="errors" ), + HonSensorEntityDescription( + key="humidityLevel", + name="Humidity Level", + icon="mdi:water-outline", + device_class=SensorDeviceClass.ENUM, + translation_key="humidity_level", + option_list=const.REF_HUMIDITY_LEVELS, + ), ), "HO": ( HonSensorEntityDescription( diff --git a/custom_components/hon/switch.py b/custom_components/hon/switch.py index 9ed81fb..8cc5b0f 100644 --- a/custom_components/hon/switch.py +++ b/custom_components/hon/switch.py @@ -311,23 +311,17 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = { translation_key="auto_set", ), HonSwitchEntityDescription( - key="quickModeZ1", + key="quickModeZ2", name="Super Freeze", icon="mdi:snowflake-variant", translation_key="super_freeze", ), HonSwitchEntityDescription( - key="quickModeZ2", + key="quickModeZ1", name="Super Cool", icon="mdi:snowflake", translation_key="super_cool", ), - HonSwitchEntityDescription( - key="holidayMode", - name="Holiday Mode", - icon="mdi:palm-tree", - translation_key="holiday_mode", - ), ), "WC": ( HonSwitchEntityDescription( diff --git a/custom_components/hon/translations/cs.json b/custom_components/hon/translations/cs.json index 9e89083..11201d0 100644 --- a/custom_components/hon/translations/cs.json +++ b/custom_components/hon/translations/cs.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Rychlost ventilátoru" + }, + "humidity_level": { + "state": { + "low": "Nízká", + "mid": "Střední", + "high": "Vysoká" + }, + "name": "Úroveň vlhkosti" } }, "select": { diff --git a/custom_components/hon/translations/de.json b/custom_components/hon/translations/de.json index 6f7bdc8..cb60c15 100644 --- a/custom_components/hon/translations/de.json +++ b/custom_components/hon/translations/de.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Gebläsegeschwindigkeit" + }, + "humidity_level": { + "state": { + "low": "Niedrig", + "mid": "Mittel", + "high": "Hoch" + }, + "name": "Grad der Luftfeuchtigkeit" } }, "select": { diff --git a/custom_components/hon/translations/el.json b/custom_components/hon/translations/el.json index 4ddb68e..aeefbec 100644 --- a/custom_components/hon/translations/el.json +++ b/custom_components/hon/translations/el.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Ταχύτητα ανεμιστήρα" + }, + "humidity_level": { + "state": { + "low": "Χαμηλό", + "mid": "Μέτριο", + "high": "Υψηλός" + }, + "name": "Επίπεδο υγρασίας" } }, "select": { diff --git a/custom_components/hon/translations/en.json b/custom_components/hon/translations/en.json index 84880a5..1899b02 100644 --- a/custom_components/hon/translations/en.json +++ b/custom_components/hon/translations/en.json @@ -907,6 +907,14 @@ }, "fan_speed": { "name": "Fan speed" + }, + "humidity_level": { + "state": { + "low": "Low", + "mid": "Medium", + "high": "High" + }, + "name": "Humidity level" } }, "select": { diff --git a/custom_components/hon/translations/es.json b/custom_components/hon/translations/es.json index 832d79b..b43a635 100644 --- a/custom_components/hon/translations/es.json +++ b/custom_components/hon/translations/es.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Velocidad del ventilador" + }, + "humidity_level": { + "state": { + "low": "Bajo", + "mid": "Medio", + "high": "Alto" + }, + "name": "Nivel de humedad" } }, "select": { diff --git a/custom_components/hon/translations/fr.json b/custom_components/hon/translations/fr.json index eaca2a5..4a493d6 100644 --- a/custom_components/hon/translations/fr.json +++ b/custom_components/hon/translations/fr.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Vitesse du ventilateur" + }, + "humidity_level": { + "state": { + "low": "Faible", + "mid": "Moyen", + "high": "Élevé" + }, + "name": "Niveau d’humidité" } }, "select": { diff --git a/custom_components/hon/translations/he.json b/custom_components/hon/translations/he.json index e69135e..982c3c4 100644 --- a/custom_components/hon/translations/he.json +++ b/custom_components/hon/translations/he.json @@ -443,6 +443,14 @@ }, "fan_speed": { "name": "Fan speed" + }, + "humidity_level": { + "state": { + "low": "נָמוּך", + "mid": "בינוני", + "high": "גָבוֹהַ" + }, + "name": "Humidity level" } }, "select": { diff --git a/custom_components/hon/translations/hr.json b/custom_components/hon/translations/hr.json index cd5cdb2..1e6df12 100644 --- a/custom_components/hon/translations/hr.json +++ b/custom_components/hon/translations/hr.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Brzina ventilatora" + }, + "humidity_level": { + "state": { + "low": "Nisko", + "mid": "Srednje", + "high": "Visoko" + }, + "name": "Razina vlažnosti" } }, "select": { diff --git a/custom_components/hon/translations/it.json b/custom_components/hon/translations/it.json index 9eaac1c..8f91bae 100644 --- a/custom_components/hon/translations/it.json +++ b/custom_components/hon/translations/it.json @@ -892,6 +892,14 @@ }, "fan_speed": { "name": "Velocità ventole" + }, + "humidity_level": { + "state": { + "low": "Basso", + "mid": "Medio", + "high": "Alto" + }, + "name": "Livello di umidità" } }, "select": { diff --git a/custom_components/hon/translations/nl.json b/custom_components/hon/translations/nl.json index 86f8fa3..718aad4 100644 --- a/custom_components/hon/translations/nl.json +++ b/custom_components/hon/translations/nl.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Ventilatorsnelheid" + }, + "humidity_level": { + "state": { + "low": "Laag", + "mid": "Gemiddeld", + "high": "Hoog" + }, + "name": "Vochtigheidsniveau" } }, "select": { diff --git a/custom_components/hon/translations/pl.json b/custom_components/hon/translations/pl.json index d5b61ff..db75cb0 100644 --- a/custom_components/hon/translations/pl.json +++ b/custom_components/hon/translations/pl.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Prędkość wentylatora" + }, + "humidity_level": { + "state": { + "low": "Niskie", + "mid": "Średnie", + "high": "Wysokie" + }, + "name": "Poziom wilgotności" } }, "select": { diff --git a/custom_components/hon/translations/pt.json b/custom_components/hon/translations/pt.json index c94e44a..0eb047c 100644 --- a/custom_components/hon/translations/pt.json +++ b/custom_components/hon/translations/pt.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Velocidade da bomba" + }, + "humidity_level": { + "state": { + "low": "Baixa", + "mid": "Média", + "high": "Alta" + }, + "name": "Nível de humidade" } }, "select": { diff --git a/custom_components/hon/translations/ro.json b/custom_components/hon/translations/ro.json index e830f5b..4f0b0fb 100644 --- a/custom_components/hon/translations/ro.json +++ b/custom_components/hon/translations/ro.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Viteza ventilatorului" + }, + "humidity_level": { + "state": { + "low": "Scăzută", + "mid": "Medie", + "high": "Crescută" + }, + "name": "Nivelul de umiditate" } }, "select": { diff --git a/custom_components/hon/translations/ru.json b/custom_components/hon/translations/ru.json index 8def776..49a16b3 100644 --- a/custom_components/hon/translations/ru.json +++ b/custom_components/hon/translations/ru.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Скорость вентилятора" + }, + "humidity_level": { + "state": { + "low": "Низк.", + "mid": "Средне", + "high": "Высок." + }, + "name": "Уровень влажности" } }, "select": { diff --git a/custom_components/hon/translations/sk.json b/custom_components/hon/translations/sk.json index 5219836..2753ed7 100644 --- a/custom_components/hon/translations/sk.json +++ b/custom_components/hon/translations/sk.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Rýchlosť ventilátora" + }, + "humidity_level": { + "state": { + "low": "Nízke", + "mid": "Stredné", + "high": "Vysoké" + }, + "name": "Úroveň vlhkosti" } }, "select": { diff --git a/custom_components/hon/translations/sl.json b/custom_components/hon/translations/sl.json index abc6124..60f941c 100644 --- a/custom_components/hon/translations/sl.json +++ b/custom_components/hon/translations/sl.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Hitrost ventilatorja" + }, + "humidity_level": { + "state": { + "low": "Low", + "mid": "Medium", + "high": "High" + }, + "name": "Nivo vlažnosti" } }, "select": { diff --git a/custom_components/hon/translations/sr.json b/custom_components/hon/translations/sr.json index 02687e8..e666256 100644 --- a/custom_components/hon/translations/sr.json +++ b/custom_components/hon/translations/sr.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Brzina ventilatora" + }, + "humidity_level": { + "state": { + "low": "Niska", + "mid": "Srednja", + "high": "Visoka" + }, + "name": "Nivo vlage" } }, "select": { diff --git a/custom_components/hon/translations/tr.json b/custom_components/hon/translations/tr.json index 2acfc66..acb7d82 100644 --- a/custom_components/hon/translations/tr.json +++ b/custom_components/hon/translations/tr.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "Fan hızı" + }, + "humidity_level": { + "state": { + "low": "Düşük", + "mid": "Orta", + "high": "Yüksek" + }, + "name": "Nem seviyesi" } }, "select": { diff --git a/custom_components/hon/translations/zh.json b/custom_components/hon/translations/zh.json index fd3c75e..b9a02e5 100644 --- a/custom_components/hon/translations/zh.json +++ b/custom_components/hon/translations/zh.json @@ -887,6 +887,14 @@ }, "fan_speed": { "name": "风扇速度" + }, + "humidity_level": { + "state": { + "low": "低", + "mid": "中", + "high": "高" + }, + "name": "湿度水平" } }, "select": { diff --git a/info.md b/info.md index f135ef0..76ac925 100644 --- a/info.md +++ b/info.md @@ -27,19 +27,19 @@ _If the integration is not in the list, you need to clear the browser cache._ ## Supported Models Support has been confirmed for these models, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8). -| | **Haier** | **Hoover** | **Candy** | -|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------| -| **Washing Machine** | HW80-B14959TU1DE
HW90-B14TEAM5
HW100-B14959U1 | H-WASH 500
H7W4 48MBC-S
HW 410AMBCB/1-80 | CO4 107T1/2-07
CBWO49TWME-S
RO44 1286DWMC4-07
HW 68AMC/1-80
HWPD 69AMBC/1-S | -| **Tumble Dryer** | HD80-A3959 | H-DRY 500
H9A3TCBEXS-S
HLE C10DCE-80
H5WPB447AMBC/1-S
NDE H10A2TCE-80
NDE H9A2TSBEXS-S
NDPHY10A2TCBEXSS | BCTDH7A1TE
CSOE C10DE-80
ROE H9A3TCEX-S | -| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S
HWPS4954DAMR-11 | RPW41066BWMR/1-S | -| **Oven** | HWO60SM2F3XH | HSOT3161WG | | -| **Dish Washer** | XIB 3B2SFS-80
XIB 6B2D3FB | HFB 6B2S3FX | | -| **Air Conditioner** | AD105S2SM3FA
AS09TS4HRA-M
AS20HPL1HRA
AS25PBAHRA
AS25S2SF1FA-WH
AS25TADHRA-2
AS35PBAHRA
AS35S2SF1FA-WH
AS35S2SF2FA-3
AS35TADHRA-2
AS35TAMHRA-C | | CY-12TAIN | -| **Fridge** | HFW7720ENMB | | CCE4T620EWU | -| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | -| **Hood** | HADG6DS46BWIFI | | | -| **Wine Cellar** | HWS247FDU1 | | | -| **Air Purifier** | | HHP30C011
HHP50CA001
HHP50CA011 | | +| | **Haier** | **Hoover** | **Candy** | +|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------| +| **Washing Machine** | HW80-B14959TU1DE
HW90-B14TEAM5
HW100-B14959U1 | H-WASH 500
H7W4 48MBC-S
HLWPS495TAMBE-11
HW 410AMBCB/1-80 | CO4 107T1/2-07
CBWO49TWME-S
RO44 1286DWMC4-07
HW 68AMC/1-80
HWPD 69AMBC/1-S | +| **Tumble Dryer** | HD80-A3959 | H-DRY 500
H9A3TCBEXS-S
HLE C10DCE-80
H5WPB447AMBC/1-S
NDE H10A2TCE-80
NDE H9A2TSBEXS-S
NDPHY10A2TCBEXSS | BCTDH7A1TE
CSOE C10DE-80
ROE H9A3TCEX-S | +| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S
HWPS4954DAMR-11 | RPW41066BWMR/1-S | +| **Oven** | HWO60SM2F3XH | HSOT3161WG | | +| **Dish Washer** | XIB 3B2SFS-80
XIB 6B2D3FB | HFB 6B2S3FX | | +| **Air Conditioner** | AD105S2SM3FA
AS09TS4HRA-M
AS20HPL1HRA
AS25PBAHRA
AS25S2SF1FA-WH
AS25TADHRA-2
AS35PBAHRA
AS35S2SF1FA-WH
AS35S2SF2FA-3
AS35TADHRA-2
AS35TAMHRA-C
AS35TEDHRA(M1) | | CY-12TAIN | +| **Fridge** | HFW7720ENMB
HFW7819EWMP | | CCE4T620EWU | +| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | +| **Hood** | HADG6DS46BWIFI | | | +| **Wine Cellar** | HWS247FDU1 | | | +| **Air Purifier** | | HHP30C011
HHP50CA001
HHP50CA011 | | | Please add your appliances data to our [hon-test-data collection](https://github.com/Andre0512/hon-test-data).
This helps us to develop new features and not to break compatibility in newer versions. | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/scripts/translation_keys.py b/scripts/translation_keys.py index 46a4ae6..81b30da 100644 --- a/scripts/translation_keys.py +++ b/scripts/translation_keys.py @@ -109,6 +109,12 @@ REF_ZONES = { "fridge_freezer": ["REF.ZONES.FRIDGE", " & ", "REF.ZONES.FREEZER"], } +REF_HUMIDITY_LEVELS = { + "low": "GLOBALS.GENERAL.LOW", + "mid": "GLOBALS.GENERAL.MEDIUM", + "high": "GLOBALS.GENERAL.HIGH", +} + SENSOR = { "washing_modes": MACH_MODE, @@ -119,6 +125,7 @@ SENSOR = { "dry_levels": TUMBLE_DRYER_DRY_LEVEL, "dirt_level": DIRTY_LEVEL, "steam_level": STEAM_LEVEL, + "humidity_level": REF_HUMIDITY_LEVELS, } SELECT = { @@ -355,6 +362,7 @@ NAMES = { "filter_life": "AP.MAINTENANCE.FILTER_LIFE", "air_quality": "AP.DISCOVER.AIR_QUALITY", "fan_speed": "AP.TITLES.FAN_SPEED", + "humidity_level": "WC.MAINTENANCE_HUMIDITY.TITLE", }, "number": { "power_management": "HINTS.COOKING_WITH_INDUCTION.POWER_MANAGEMENT",