@@ -8,36 +8,38 @@ comments: false
8
8
sharing : true
9
9
footer : true
10
10
logo : xiaomi.png
11
- ha_category : Switch
11
+ ha_category : Fan
12
12
ha_version : 0.57
13
13
ha_iot_class : " Local Polling"
14
14
---
15
15
16
- The ` xiaomi_miio ` fan platform allows you to control the Xiaomi Air Purifier 2, Air Purifier 2S andd Air Purifier Pro.
16
+ The ` xiaomi_miio ` fan platform allows you to control the Xiaomi Air Purifier 2, Air Purifier 2S and Air Purifier Pro.
17
17
18
18
Currently, the supported features are
19
19
20
20
* On, Off
21
21
* Operation modes (auto, silent, favorite, idle)
22
22
* Buzzer (on, off)
23
+ * Child lock (on, off)
23
24
* LED (on, off), LED brightness (bright, dim, off)
24
- * Favorite Level
25
- * States
25
+ * Favorite Level (0...16)
26
+ * Attributes
26
27
- power
27
28
- aqi
29
+ - average_aqi
28
30
- humidity
29
31
- temperature
30
32
- mode
33
+ - favorite_level
31
34
- led
32
35
- led_brightness
33
36
- buzzer
34
37
- child_lock
35
- - brightness
36
- - favorite_level
37
- - filter1_life
38
- - f1_hour_used
39
- - use_time
40
- - motor1_speed
38
+ - purify_volume
39
+ - filter_life_remaining
40
+ - filter_hours_used
41
+ - motor_speed
42
+
41
43
42
44
## {% linkable_title Setup %}
43
45
@@ -66,39 +68,55 @@ Turn the buzzer on.
66
68
67
69
| Service data attribute | Optional | Description |
68
70
|---------------------------|----------|-------------------------------------------------------|
69
- | ` entity_id` | yes | Only act on specific air purifier. Else targets all. |
71
+ | ` entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
70
72
71
73
# ## Service fan/xiaomi_miio_set_buzzer_off
72
74
73
75
Turn the buzzer off.
74
76
75
77
| Service data attribute | Optional | Description |
76
78
|---------------------------|----------|-------------------------------------------------------|
77
- | `entity_id` | yes | Only act on specific air purifier. Else targets all. |
79
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
78
80
79
81
# ## Service fan/xiaomi_miio_set_led_on
80
82
81
83
Turn the led on.
82
84
83
85
| Service data attribute | Optional | Description |
84
86
|---------------------------|----------|-------------------------------------------------------|
85
- | `entity_id` | yes | Only act on specific air purifier. Else targets all. |
87
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
86
88
87
89
# ## Service fan/xiaomi_miio_set_led_off
88
90
89
91
Turn the led off.
90
92
91
93
| Service data attribute | Optional | Description |
92
94
|---------------------------|----------|-------------------------------------------------------|
93
- | `entity_id` | yes | Only act on specific air purifier. Else targets all. |
95
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
96
+
97
+ # ## Service fan/xiaomi_miio_set_child_lock_on
98
+
99
+ Turn the child lock on.
100
+
101
+ | Service data attribute | Optional | Description |
102
+ |---------------------------|----------|-------------------------------------------------------|
103
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
104
+
105
+ # ## Service fan/xiaomi_miio_set_child_lock_off
106
+
107
+ Turn the child lock off.
108
+
109
+ | Service data attribute | Optional | Description |
110
+ |---------------------------|----------|-------------------------------------------------------|
111
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
94
112
95
113
# ## Service fan/xiaomi_miio_set_led_brightness
96
114
97
115
Set the led brightness. Supported values are 0 (Bright), 1 (Dim), 2 (Off).
98
116
99
117
| Service data attribute | Optional | Description |
100
118
|---------------------------|----------|-------------------------------------------------------|
101
- | `entity_id` | yes | Only act on specific air purifier. Else targets all. |
119
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
102
120
| `brightness` | no | Brightness, between 0 and 2. |
103
121
104
122
# ## Service fan/xiaomi_miio_set_favorite_level
@@ -107,5 +125,5 @@ Set the favorite level of the operation mode "favorite".
107
125
108
126
| Service data attribute | Optional | Description |
109
127
|---------------------------|----------|-------------------------------------------------------|
110
- | `entity_id` | yes | Only act on specific air purifier. Else targets all. |
128
+ | `entity_id` | yes | Only act on a specfici air purifier. Else targets all. |
111
129
| `level` | no | Level, between 0 and 16. |
0 commit comments