Xiaomi_miio fan platform sevices update (#18340)

This commit is contained in:
Jan Bouwhuis 2021-06-29 00:40:33 +02:00 committed by GitHub
parent 266dc5c6db
commit a0807a169f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,14 +538,23 @@ This model uses newer MiOT communication protocol.
### Platform Services
### Service `fan.set_speed`
### Service `fan.set_percentage`
Set the fan speed/operation mode.
Set the fan speed percentage.
| Service data attribute | Optional | Description |
|---------------------------|----------|---------------------------------------------------------------------|
| `entity_id` | no | Only act on a specific Xiaomi miIO fan entity. |
| `speed` | no | Fan speed. Valid values are 'Auto', 'Silent', 'Favorite' and 'Idle' |
| `percentage` | no | Fan speed. Percentage speed setting |
### Service `fan.set_preset_mode`
Set the fan operation mode.
| Service data attribute | Optional | Description |
|---------------------------|----------|---------------------------------------------------------------------|
| `entity_id` | no | Only act on a specific Xiaomi miIO fan entity. |
| `preset_mode` | no | The Xiaomi miIO operation mode |
### Service `xiaomi_miio.fan_set_buzzer_on` (Air Purifier Pro excluded)