# Humidifier
## Features
- Supports preset mode
- Supports fan mode
- Supports humidity setting
## Entities
### Default entity
| EntityID | Class | Description |
|----------------------------------|------------|-------------------|
| humidifier.{DEVICEID}_humidifier | humidifier | Humidifier entity |
### Extra entities
| EntityID | Class | Description |
|---------------------------------------|--------|---------------------|
| sensor.{DEVICEID}_current_humidity | sensor | Current Humidity |
| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
| switch.{DEVICEID}_disinfect | switch | Disinfect |
| switch.{DEVICEID}_prompt_tone | switch | Prompt Tone |
| switch.{DEVICEID}_power | switch | Power |
| select.{DEVICEID}_fan_speed | select | Fan Speed |
| select.{DEVICEID}_screen_display | select | Screen Display |
## Service
### midea_ac_lan.set_attribute
[](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute)
Set the attribute of appliance. Service data:
| Name | Description |
|-----------|---------------------------------------------|
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "disinfect"
"prompt_tone"
"power" |
| 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 | "screen_display" |
| value | "Bright"
"Dim"
"Off" |
Example
```yaml
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: prompt_tone
value: true
```
```yaml
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: Medium
```