From a0807a169f34b2eb6ca19300d0bafb67ca48ef48 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Tue, 29 Jun 2021 00:40:33 +0200 Subject: [PATCH] Xiaomi_miio fan platform sevices update (#18340) --- source/_integrations/xiaomi_miio.markdown | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/source/_integrations/xiaomi_miio.markdown b/source/_integrations/xiaomi_miio.markdown index 42856b9f7e1..05739174f99 100644 --- a/source/_integrations/xiaomi_miio.markdown +++ b/source/_integrations/xiaomi_miio.markdown @@ -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)