Add compatibility for more fridge models #93

This commit is contained in:
Andre Basche 2023-07-19 23:57:33 +02:00
parent 8d6a6a509b
commit f0fb5742a4
26 changed files with 229 additions and 47 deletions

View File

@ -39,14 +39,14 @@ _If the integration is not in the list, you need to clear the browser cache._
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 <br/> HW90-B14TEAM5 <br/> HW100-B14959U1 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HW 410AMBCB/1-80 | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO44 1286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| **Washing Machine** | HW80-B14959TU1DE <br/> HW90-B14TEAM5 <br/> HW100-B14959U1 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO44 1286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
| **Tumble Dryer** | HD80-A3959 | H-DRY 500 <br/> H9A3TCBEXS-S <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S |
| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S |
| **Oven** | HWO60SM2F3XH | HSOT3161WG | |
| **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C | | CY-12TAIN |
| **Fridge** | HFW7720ENMB | | CCE4T620EWU |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN |
| **Fridge** | HFW7720ENMB <br/> HFW7819EWMP | | CCE4T620EWU |
| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI |
| **Hood** | HADG6DS46BWIFI | | |
| **Wine Cellar** | HWS247FDU1 | | |
@ -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` |

View File

@ -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",

View File

@ -224,3 +224,5 @@ AP_DIFFUSER_LEVEL = {
3: "h_biotics",
4: "custom",
}
REF_HUMIDITY_LEVELS = {1: "low", 2: "mid", 3: "high"}

View File

@ -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(

View File

@ -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(

View File

@ -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": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Gebläsegeschwindigkeit"
},
"humidity_level": {
"state": {
"low": "Niedrig",
"mid": "Mittel",
"high": "Hoch"
},
"name": "Grad der Luftfeuchtigkeit"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Ταχύτητα ανεμιστήρα"
},
"humidity_level": {
"state": {
"low": "Χαμηλό",
"mid": "Μέτριο",
"high": "Υψηλός"
},
"name": "Επίπεδο υγρασίας"
}
},
"select": {

View File

@ -907,6 +907,14 @@
},
"fan_speed": {
"name": "Fan speed"
},
"humidity_level": {
"state": {
"low": "Low",
"mid": "Medium",
"high": "High"
},
"name": "Humidity level"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Velocidad del ventilador"
},
"humidity_level": {
"state": {
"low": "Bajo",
"mid": "Medio",
"high": "Alto"
},
"name": "Nivel de humedad"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Vitesse du ventilateur"
},
"humidity_level": {
"state": {
"low": "Faible",
"mid": "Moyen",
"high": "Élevé"
},
"name": "Niveau dhumidité"
}
},
"select": {

View File

@ -443,6 +443,14 @@
},
"fan_speed": {
"name": "Fan speed"
},
"humidity_level": {
"state": {
"low": "נָמוּך",
"mid": "בינוני",
"high": "גָבוֹהַ"
},
"name": "Humidity level"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Brzina ventilatora"
},
"humidity_level": {
"state": {
"low": "Nisko",
"mid": "Srednje",
"high": "Visoko"
},
"name": "Razina vlažnosti"
}
},
"select": {

View File

@ -892,6 +892,14 @@
},
"fan_speed": {
"name": "Velocità ventole"
},
"humidity_level": {
"state": {
"low": "Basso",
"mid": "Medio",
"high": "Alto"
},
"name": "Livello di umidità"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Ventilatorsnelheid"
},
"humidity_level": {
"state": {
"low": "Laag",
"mid": "Gemiddeld",
"high": "Hoog"
},
"name": "Vochtigheidsniveau"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Prędkość wentylatora"
},
"humidity_level": {
"state": {
"low": "Niskie",
"mid": "Średnie",
"high": "Wysokie"
},
"name": "Poziom wilgotności"
}
},
"select": {

View File

@ -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": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Viteza ventilatorului"
},
"humidity_level": {
"state": {
"low": "Scăzută",
"mid": "Medie",
"high": "Crescută"
},
"name": "Nivelul de umiditate"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Скорость вентилятора"
},
"humidity_level": {
"state": {
"low": "Низк.",
"mid": "Средне",
"high": "Высок."
},
"name": "Уровень влажности"
}
},
"select": {

View File

@ -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": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Hitrost ventilatorja"
},
"humidity_level": {
"state": {
"low": "Low",
"mid": "Medium",
"high": "High"
},
"name": "Nivo vlažnosti"
}
},
"select": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "Brzina ventilatora"
},
"humidity_level": {
"state": {
"low": "Niska",
"mid": "Srednja",
"high": "Visoka"
},
"name": "Nivo vlage"
}
},
"select": {

View File

@ -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": {

View File

@ -887,6 +887,14 @@
},
"fan_speed": {
"name": "风扇速度"
},
"humidity_level": {
"state": {
"low": "低",
"mid": "中",
"high": "高"
},
"name": "湿度水平"
}
},
"select": {

View File

@ -28,14 +28,14 @@ _If the integration is not in the list, you need to clear the browser cache._
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 <br/> HW90-B14TEAM5 <br/> HW100-B14959U1 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HW 410AMBCB/1-80 | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO44 1286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| **Washing Machine** | HW80-B14959TU1DE <br/> HW90-B14TEAM5 <br/> HW100-B14959U1 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO44 1286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
| **Tumble Dryer** | HD80-A3959 | H-DRY 500 <br/> H9A3TCBEXS-S <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S |
| **Washer Dryer** | HWD100-B14979 | HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S |
| **Oven** | HWO60SM2F3XH | HSOT3161WG | |
| **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C | | CY-12TAIN |
| **Fridge** | HFW7720ENMB | | CCE4T620EWU |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN |
| **Fridge** | HFW7720ENMB <br/> HFW7819EWMP | | CCE4T620EWU |
| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI |
| **Hood** | HADG6DS46BWIFI | | |
| **Wine Cellar** | HWS247FDU1 | | |

View File

@ -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",