Add information about select platform for Xiaomi Miio fans (#18966)

This commit is contained in:
Maciej Bieniek 2021-08-18 12:49:36 +02:00 committed by GitHub
parent a24bef07cf
commit 2122d8320b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,6 @@ Supported devices:
- `use_time`
- `button_pressed`
- `buzzer`
- `led_brightness`
- `sleep_mode`
- Sensor entities
@ -367,7 +366,6 @@ This model uses newer MiOT communication protocol.
- `led`
- `use_time`
- `buzzer`
- `led_brightness`
- `fan_level`
- Sensor entities
@ -380,6 +378,12 @@ Sensor | Description
`purify_volume` | The volume of purified air in qubic meter
`temperature` | The current `temperature` measured
- Select entities
Select | Description
--- | ---
`led brightness` | Controls the brightness of the LEDs (bright, dim, off)
### Air Purifier V3 (zhimi.airpurifier.v3)
- Power (on, off)
@ -498,7 +502,7 @@ Clean mode and Motor speed can only be set when the device is turned on.
- Operation modes (auto, silent, interval, low, middle, strong)
- Buzzer (on, off)
- Child lock (on, off)
- LED (on, off), LED brightness (bright, dim, off)
- LED (on, off)
- Attributes
- `model`
- `aqi`
@ -508,7 +512,6 @@ Clean mode and Motor speed can only be set when the device is turned on.
- `co2`
- `mode`
- `led`
- `led_brightness`
- `buzzer`
- `child_lock`
- `filter_life_remaining`
@ -527,6 +530,12 @@ Sensor | Description
`illuminance` | The current `illuminance` measured
`temperature` | The current `temperature` measured
- Select entities
Select | Description
--- | ---
`led brightness` | Controls the brightness of the LEDs (bright, dim, off)
### Platform Services
<div class='note'>
@ -635,15 +644,6 @@ Set the LED brightness. Supported values are 'Bright', 'Dim', 'Off'.
| `entity_id` | no | Only act on a specific Xiaomi miIO fan entity. |
| `option` | no | Brightness option. Should be 'Bright', 'Dim' or 'Off' |
### Service `xiaomi_miio.fan_set_led_brightness` (Air Humidifiers, Air Purifier 2S and Air Purifier Pro excluded)
Set the LED brightness. Supported values are 0 (Bright), 1 (Dim), 2 (Off).
| Service data attribute | Optional | Description |
|---------------------------|----------|---------------------------------------------------------|
| `entity_id` | no | Only act on a specific Xiaomi miIO fan entity. |
| `brightness` | no | Brightness, between 0 and 2. |
### Service `xiaomi_miio.fan_set_favorite_level` (Air Purifiers only)
Set the favorite level of the operation mode "favorite".