- Supports preset mode
- Supports fan mode
- Supports swing
- Supports humidity setting
To customize a dehumidifier device, supply a correctly formatted json string to HA in the midea_ac_lan custom integration configuration. This can be found at Settings -> Devices & Services -> Midea AC Lan -> Configure -> Customize in HA.
The dehumidifier device has two customization options: speeds and modes. Both are defined in a json dictionary structure where the key is the data sent to the dehumidifier and the value is the data displayed in the HA.
-
speeds - Set the possible fan speed levels for a specific dehumidifier. If not set, the possible fan speed levels default to those listed below.
{ "speeds": { "1": "Lowest", "40": "Low", "60": "Medium", "80": "High", "102": "Auto", "127": "Off" } } -
modes - Set the possible modes for a specific dehumidifier. If not set, the possible modes default to those listed below.
{ "modes": { "1": "Manual", "2": "Continuous", "3": "Auto", "4": "Clothes-Dry", "5": "Shoes-Dry" } }
Below is a custom configuration for the Midea 50 pt. Cube Dehumidifier with Built-in Pump (MAD50PS1QWT). It has been tested and works correctly for this device as of 2025. Other Midea Cube Dehumidifiers likely have a similar configuration.
{
"speeds": { "40": "Low", "80": "High" },
"modes": { "1": "Manual", "2": "Continuous", "4": "Max" }
}If this configuration does not match your Midea Cube Dehumidifier or if you have a completely different dehumidifier that requires customizing these options:
- Enable debug logging for the midea_ac_lan and midealocal custom components in HA by following the instructions in the debug doc.
- Use the Midea app to toggle between the different options for the related setting on on the dehumidifier.
- Examine the HA log to determine the correct key for each option for the setting.
- Use the option id in the Midea app for the value.
| EntityID | Class | Description |
|---|---|---|
| humidifier.{DEVICEID}_humidifier | humidifier | Humidifier entity |
| EntityID | Class | Description |
|---|---|---|
| sensor.{DEVICEID}_tank_full | binary_sensor | Tank Status |
| sensor.{DEVICEID}_tank | sensor | Tank |
| sensor.{DEVICEID}_current_humidity | sensor | Current Humidity |
| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
| lock.{DEVICEID}_child_lock | lock | Child Lock |
| switch.{DEVICEID}_anion | switch | Anion |
| switch.{DEVICEID}_prompt_tone | switch | Prompt Tone |
| switch.{DEVICEID}_power | switch | Power |
| switch.{DEVICEID}_swing | switch | Swing |
| select.{DEVICEID}_fan_speed | select | Fan Speed |
| select.{DEVICEID}_water_level_set | select | Water Level Setting |
Set the attribute of appliance. Service data:
| Name | Description |
|---|---|
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock" "anion" "prompt_tone" "power" "swing" |
| value | true or false |
| Name | Description |
|---|---|
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "fan_speed" |
| value | "Lowest" "Low" "Medium" "High" "Auto" "Off" |
| Name | Description |
|---|---|
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "water_level_set" |
| value | "25" "50" "75" "100" |
Example
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: prompt_tone
value: trueservice: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: Medium