Remove model and platform specific docs

This commit is contained in:
Teemu Rytilahti 2022-03-02 01:19:55 +01:00
parent 1efa4fba97
commit 1cfa163728

View File

@ -74,7 +74,7 @@ the server to use for each country.
The `xiaomi_miio` gateway integration allows you to control the gateway and its connected subdevices.
### Supported Xiaomi gateway models:
### Supported Xiaomi gateway models
| Gateway name | Zigbee id | model | supported |
| ------------------ | ------------------- | ------------------------ |------------------------------------------ |
@ -193,713 +193,11 @@ token:
The Air Purifiers, Air Humidifiers and Standing Fans use multiple platforms to allow you to set the control modes and settings of the device.
Supported devices:
| Name | Model | Model no. |
| ---------------------- | ---------------------- | --------- |
| Air Purifier | zhimi.airpurifier.v1 | |
| Air Purifier 2 | zhimi.airpurifier.v2 | FJY4006CN |
| Air Purifier V3 | zhimi.airpurifier.v3 | |
| Air Purifier V5 | zhimi.airpurifier.v5 | |
| Air Purifier Pro | zhimi.airpurifier.v6 | |
| Air Purifier Pro V7 | zhimi.airpurifier.v7 | |
| Air Purifier 2 (mini) | zhimi.airpurifier.m1 | |
| Air Purifier (mini) | zhimi.airpurifier.m2 | |
| Air Purifier MA1 | zhimi.airpurifier.ma1 | |
| Air Purifier MA2 | zhimi.airpurifier.ma2 | |
| Air Purifier 2S | zhimi.airpurifier.mc1 | |
| Air Purifier Super | zhimi.airpurifier.sa1 | |
| Air Purifier Super 2 | zhimi.airpurifier.sa2 | |
| Air Purifier 3 (2019) | zhimi.airpurifier.ma4 | |
| Air Purifier 3H (2019) | zhimi.airpurifier.mb3 | |
| Air Purifier 3C | zhimi.airpurifier.mb4 | |
| Air Fresh VA2 | zhimi.airfresh.va2 | |
| Air Humidifier | zhimi.humidifier.v1 | |
| Air Humidifier CA1 | zhimi.humidifier.ca1 | |
| Air Humidifier CA4 | zhimi.humidifier.ca4 | |
| Air Humidifier CB1 | zhimi.humidifier.cb1 | |
| Air Humidifier JSQ | deerma.humidifier.jsq | |
| Air Humidifier JSQ1 | deerma.humidifier.jsq1 | |
| Air Humidifier MJJSQ | deerma.humidifier.mjjsq| |
| Standing Fan 1X | dmaker.fan.p5 | |
| Inverter Pedestal Fan | zhimi.fan.za1 | |
| Standing Fan 2 | zhimi.fan.za3 | |
| Standing Fan 2S | zhimi.fan.za4 | |
| Standing Fan | zhimi.fan.sa1 | |
| DC Pedestal Fan | zhimi.fan.v2 | |
| DC Pedestal Fan | zhimi.fan.v3 | |
| Standing Fan 1C | dmaker.fan.1c | |
| Tower Fan | dmaker.fan.p9 | |
| Standing Fan 2 | dmaker.fan.p10 | |
| Standing Fan Pro | dmaker.fan.p11 | |
| Standing Fan 3 | zhimi.fan.za5 | |
### Features
### Air Purifier 2 (zhimi.airpurifier.v2)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite, Idle)
- Attributes (fan platform)
- `model`
- `mode`
- `sleep_time`
- `sleep_mode_learn_count`
- `extra_features`
- `turbo_mode_supported`
- `use_time`
- `button_pressed`
- `sleep_mode`
- Number entities
Number | Description
----------------------- | -----------------------
Favorite Level | Set the favorite level
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
Purify Volume | The volume of purified air in qubic meter | False
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
Learn Mode | Turn on/off the learn mode
LED | Turn on/off the LED
### Air Purifier Pro (zhimi.airpurifier.v6)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite)
- Attributes (fan platform)
- `sleep_time`
- `sleep_mode_learn_count`
- `extra_features`
- `turbo_mode_supported`
- `auto_detect`
- `use_time`
- `button_pressed`
- Number entities
Number | Description
----------------------- | -----------------------
Favorite Level | Set the favorite level
Volume | Set the volume
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
Illuminance | The current illuminance measured | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
Purify Volume | The volume of purified air in qubic meter | False
Second Motor Speed | The current second motor speed measured in rpm | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Child Lock | Turn on/off the child lock
Learn Mode | Turn on/off the learn mode
LED | Turn on/off the LED
### Air Purifier Pro V7 (zhimi.airpurifier.v7)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite)
- Attributes (fan platform)
- `extra_features`
- `turbo_mode_supported`
- `button_pressed`
- Number entities
Number | Description
----------------------- | -----------------------
Favorite Level | Set the favorite level
Volume | Set the volume
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
Illuminance | The current illuminance measured | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
Second Motor Speed | The current second motor speed measured in rpm | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Child Lock | Turn on/off the child lock
Learn Mode | Turn on/off the learn mode
LED | Turn on/off the LED
### Air Purifier 2S (zhimi.airpurifier.mc1)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite)
- Attributes (fan platform)
- `extra_features`
- `turbo_mode_supported`
- `button_pressed`
- Number entities
Number | Description
----------------------- | -----------------------
Favorite Level | Set the favorite level
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
Learn Mode | Turn on/off the learn mode
LED | Turn on/off the LED
### Air Purifier 3/3H (2019) (zhimi.airpurifier.ma4/zhimi.airpurifier.mb3)
This model uses newer MiOT communication protocol.
- Power (on, off)
- Operation modes (Auto, Silent, Favorite, Fan)
- Attributes (fan platform)
- `use_time`
- Number entities
Number | Description
----------------------- | -----------------------
Fan Level | Set the fan level
Favorite Level | Set the favorite level
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
Purify Volume | The volume of purified air in qubic meter | False
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
### Air Purifier 3C (zhimi.airpurifier.mb4)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite)
- Number entities
Number | Description
----------------------- | -----------------------
Favorite Motor Speed | Set the favorite motor speed
LED Brihtness | Set the LED brightness
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Motor Speed | The current motor speed measured in rpm | True
PM2.5 | The current particulate matter 2.5 measured | True
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
### Air Purifier V3 (zhimi.airpurifier.v3)
- Power (on, off)
- Operation modes (Auto, Silent, Favorite, Idle, Medium, High, Strong)
- Attributes (fan platform)
- `sleep_time`
- `sleep_mode_learn_count`
- `extra_features`
- `use_time`
- `button_pressed`
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
PM2.5 | The current particulate matter 2.5 measured | True
Illuminance | The current illuminance measured | True
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Motor Speed | The current motor speed measured in rpm | True
Second Motor Speed | The current second motor speed measured in rpm | True
Purify Volume | The volume of purified air in qubic meter | False
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
LED | Turn on/off the LED
### Air Fresh VA2
- Power (on, off)
- Operation modes (Auto, Silent, Interval, Low, Middle, Strong)
- Attributes (fan platform)
- `use_time`
- `extra_features`
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | ----------------------- | -----------------------
Carbon Dioxide | The current carbon dioxide measured in ppm | True
Filter Life Remaining | The remaining life of the filter | True
Filter Use | Filter usage time in hours | True
Humidity | The current humidity measured | True
PM2.5 | The current particulate matter 2.5 measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off `buzzer`
Child Lock | Turn on/off `child lock`
LED | Turn on/off `led`
### Air Humidifier (zhimi.humidifier.v1)
- On, Off
- Operation modes (Silent, Medium, High, Strong)
- Target humidity (30, 40, 50, 60, 70, 80)
- Attributes (humidifier platform)
Attribute | Description
----------------------- | -----------------------
`available_modes` | A list with the operation modes available
`humidity` | The current target humidity
`max_humidity` | The maximum settable target humidity
`min_humidity` | The minimum settable target humidity
`mode` | The current operation mode selected
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Water Tank | Indicates whether the water tank is connected or not
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | -------------------------------------------------------------- | ------------------
Humidity | The current humidity measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
Water Level | The current water level percentage measured | True
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
### Air Humidifier CA (zhimi.humidifier.ca1)
- On, Off
- Operation modes (Silent, Medium, High, Auto)
- Target humidity (30, 40, 50, 60, 70, 80)
- Attributes (humidifier platform)
Attribute | Description
----------------------- | -----------------------
`available_modes` | A list with the operation modes available
`humidity` | The current target humidity
`max_humidity` | The maximum settable target humidity
`min_humidity` | The minimum settable target humidity
`mode` | The current operation mode selected
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Water Tank | Indicates whether the water tank is connected or not
- Select entities
Select | Description
----------------------- | ---
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | -------------------------------------------------------------- | ------------------
Humidity | The current humidity measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
Water Level | The current water level percentage measured | True
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
Dry Mode | Turn on/off the dry mode
### Air Humidifier CA (zhimi.humidifier.ca4)
- On, Off
- Operation modes (Auto, Low, Medium, High)
- Target humidity (30 - 80)
- Attributes (humidifier platform)
Attribute | Description
----------------------- | -----------------------
`available_modes` | A list with the operation modes available
`humidity` | The current target humidity
`max_humidity` | The maximum settable target humidity
`min_humidity` | The minimum settable target humidity
`mode` | The current operation mode selected
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Water Tank | Indicates whether the water tank is connected or not
- Number entities
Number | Description
----------------------- | -----------------------
Motor Speed | Set the motor speed
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | -------------------------------------------------------------- | ------------------
Actual Speed | The current motor speed measured in rpm | True
Humidity | The current humidity measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
Water Level | The current water level percentage measured | True
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
Clean Mode | Turn on/off the clean mode
Dry Mode | Turn on/off the dry mode
<div class='note'>
Clean mode and Motor speed can only be set when the device is turned on.
On some devices, clean mode and motor speed can only be set when the device is turned on.
</div>
### Air Humidifier CB (zhimi.humidifier.cb1)
- On, Off
- Operation modes (Silent, Medium, High, Auto)
- Target humidity (30, 40, 50, 60, 70, 80)
- Attributes (humidifier platform)
Attribute | Description
----------------------- | -----------------------
`available_modes` | A list with the operation modes available
`humidity` | The current target humidity
`max_humidity` | The maximum settable target humidity
`min_humidity` | The minimum settable target humidity
`mode` | The current operation mode selected
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Water Tank | Indicates whether the water tank is connected or not
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | -------------------------------------------------------------- | ------------------
Humidity | The current humidity measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
Water Level | The current water level percentage measured | True
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
Child Lock | Turn on/off the child lock
Dry Mode | Turn on/off the dry mode
### Air Humidifier JSQ/JSQ1/MJJSQ (deerma.humidifier.jsq/deerma.humidifier.jsq1/deerma.humidifier.mjjsq)
- On, Off
- Operation modes (low, medium, high, humidity)
- Target humidity (30, 40, 50, 60, 70, 80)
- Attributes (humidifier platform)
Attribute | Description
----------------------- | -----------------------
`available_modes` | A list with the operation modes available
`humidity` | The current target humidity
`max_humidity` | The maximum settable target humidity
`min_humidity` | The minimum settable target humidity
`mode` | The current operation mode selected
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Water Tank | Indicates whether the water tank is connected or not
Water Tank Empty | Indicates whether the water tank is empty or not
- Sensor entities
Sensor | Description | Enabled by default
----------------------- | -------------------------------------------------------------- | ------------------
Humidity | The current humidity measured | True
Temperature | The current temperature measured | True
Use Time | The accumulative number of seconds the device has been in use | False
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the buzzer
LED | Turn on/off the LED
### Standing Fan 1X (dmaker.fan.p5)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
Oscillation Angle | Set the oscillation angle in degrees
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off `buzzer`
Child Lock | Turn on/off `child lock`
LED | Turn on/off `led`
### Standing Fan (zhimi.fan.za1, zhimi.fan.za3, zhimi.fan.za4, zhimi.fan.sa1)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
Oscillation Angle | Set the oscillation angle in degrees
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off `buzzer`
Child Lock | Turn on/off `child lock`
### DC Pedestal Fan (zhimi.fan.v2, zhimi.fan.v3)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
Oscillation Angle | Set the oscillation angle in degrees
- Select entities
Select | Description
----------------------- | -----------------------
LED Brightness | Controls the brightness of the LEDs (bright, dim, off)
- Sensor entities
Sensor | Description
----------------------- | -----------------------
Battery | The current battery level in percentage
Humidity | The current humidity measured
Temperature | The current temperature measured
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off `buzzer`
Child Lock | Turn on/off `child lock`
### Standing Fan 1C (dmaker.fan.1c)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the Buzzer
Child Lock | Turn on/off the Child Lock
LED | Turn on/off the LED
### Tower Fan/Standing Fan 2/Standing Fan Pro (dmaker.fan.p9/dmaker.fan.p10/dmaker.fan.p11)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
Oscillation Angle | Set the oscillation angle in degrees
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the Buzzer
Child Lock | Turn on/off the Child Lock
LED | Turn on/off the LED
### Standing Fan 3 (zhimi.fan.za5)
- Power (on, off)
- Operation modes (Normal, Nature)
- Oscillation (on, off)
- Binary sensor entities
Binary sensor | Description
----------------------- | -----------------------
Power Supply | Indicates whether the power supply is connected or not
- Number entities
Number | Description
----------------------- | -----------------------
Delay Off Countdown | Set the delay off countdown in minutes
LED Brightness | Set the LED brightness
Oscillation Angle | Set the oscillation angle in degrees
- Sensor entities
Sensor | Description
----------------------- | -----------------------
Humidity | The current humidity measured
Temperature | The current temperature measured
- Switch entities
Switch | Description
----------------------- | -----------------------
Buzzer | Turn on/off the Buzzer
Child Lock | Turn on/off the Child Lock
Ionizer | Turn on/off the Ionizer
### Platform Services
### Custom Platform Services
### Service `xiaomi_miio.fan_reset_filter` (Air Purifier 2 only)
@ -929,28 +227,10 @@ If it's not possible to use VLANs for some reason, your last resort may be using
The `xiaomi_miio` Air Quality Monitor is observing your Xiaomi Mi Air Quality Monitor (PM2.5) and reporting the air quality index and other values.
Currently, the supported features are:
- Air Quality Index (AQI)
- Particulate matter 2.5
- Attributes
- power
- charging
- battery
- time_stat
- carbon_dioxide_equivalent
- total_volatile_organic_compounds
- temperature
- humidity
## Xiaomi IR Remote
The `xiaomi miio` remote platform allows you to send IR commands from your Xiaomi IR Remote (ChuangmiIr).
### Setup
Please follow the instructions on [Retrieving the Access Token](/integrations/xiaomi_miio/#retrieving-the-access-token) to get the API token to use in the `configuration.yaml` file.
### Configuring the Platform
To add a Xiaomi IR Remote to your installation, add the following to your `configuration.yaml` file:
@ -1102,7 +382,7 @@ Note there are at least 4 versions of the Xiaomi IR Remote (ChuangmiIr) which ca
For now, pronto hex codes only work on the first version (`chuangmi.ir.v2`).
### Platform Services
### Custom Platform Services
The Xiaomi IR Remote Platform registers four services.
@ -1132,28 +412,12 @@ Used to turn remote's blue LED off.
The `xiaomi_miio` vacuum platform allows you to control the state of your [Xiaomi Mi Robot Vacuum](https://www.mi.com/roomrobot/).
Currently supported services are:
Currently supported custom services are:
- `start`
- `pause`
- `stop`
- `return_to_base`
- `locate`
- `clean_spot`
- `set_fan_speed`
Fan speeds: `Silent`, `Standard`, `Medium`, `Turbo` and `Gentle` (exclusively for mopping).
- `remote_control_*` (of your robot)
- `xiaomi_clean_zone`
### Platform Services
In addition to all of the services provided by the `vacuum` integration (`start`, `pause`, `stop`, `return_to_base`, `locate`, `set_fan_speed` and `send_command`), the `xiaomi_miio` platform introduces specific services to access the remote control mode of the robot. These are:
- `xiaomi_miio.vacuum_remote_control_start`
- `xiaomi_miio.vacuum_remote_control_stop`
- `xiaomi_miio.vacuum_remote_control_move`
- `xiaomi_miio.vacuum_remote_control_move_step`
- `xiaomi_miio.vacuum_clean_zone`
### Custom Platform Services
### Service `xiaomi_miio.vacuum_remote_control_start`
@ -1345,58 +609,6 @@ automation:
segments: [1, 1]
```
### Sensors
{% configuration_basic %}
DnD Start*:
description: The timestamp when the next DnD (Do not disturb) period will start
DnD End*:
description: The timestamp when the current or next DnD (Do not disturb) period will end
Total duration*:
description: The total cleaning duration in seconds
Total Clean Area*:
description: The total cleaning area in square meters
Total Clean Count*:
description: The total amount of times a clean cycle has been ran
Total Dust Collection Count*:
description: The total amount of dust that has been collected
Filter Left*:
description: How long the filter can be used in seconds
Main Brush Left*:
description: How long the main brush can be used in seconds
Sensor Dirty Left*:
description: How long the sensor can be used in seconds
Current Clean Time:
description: The current cleaning time of the vacuum. If the vaccuum is not cleaning, this sensor will have the same value as the "Last Clean Duration" sensor.
Current Clean Area:
description: The current area that has been cleaned. If the vacuum is not cealning, this sensor will have the same value as the "Last Clean Area" sensor.
Last Clean Area*:
description: The last cleaned area in square meters
Last Clean Duration*:
description: The last clean duration in seconds
Last Clean End:
description: The last clean end time as a timestamp
Last Clean Start:
description: The last clean start time as a timestamp
Mop Attached**:
description: If the mop is attached
Water Box Attached**:
description: If the watter box is attached
Water Shortage**:
description: If the water box is low on water
{% endconfiguration_basic %}
<div class="note">
* Needs to be manually enabled once the integration has been added. <br>
** Only enabled if the vacuum has a mop.
</div>
### Attributes
The vacuums from the `xiaomi` platform does not expose additional attributes other the ones provided by [the `vacuum` component](/integrations/vacuum/#attributes),
### Example on how to clean a specific room
Example script using [`vacuum.send_command`](/integrations/vacuum/) to clean a specific room:
@ -1483,95 +695,9 @@ Alternatively, one can just test the clean_segment service with a number and see
It seems to be the case that Numbers 1..15 are used to number the initial segmentation done by the vacuum cleaner itself. Numbers 16 and upwards numbers rooms from the users manual editing.
## Xiaomi Philips Light
## Lights
The `xiaomi_miio` platform allows you to control the state of your Xiaomi Philips LED Ball Lamp, Xiaomi Philips Zhirui LED Bulb E14 Candle Lamp, Xiaomi Philips Zhirui Downlight, Xiaomi Philips LED Ceiling Lamp, Xiaomi Philips Eyecare Lamp 2, Xiaomi Philips Moonlight Bedside Lamp and Philips Zhirui Desk Lamp.
### Features
### Philips LED Ball Lamp, Philips Zhirui LED Candle Lamp and Philips Zhirui Downlight
Supported models: `philips.light.bulb`, `philips.light.candle`, `philips.light.candle2`, `philips.light.downlight`
- Power (on, off)
- Brightness
- Color temperature (175...333 mireds)
- Scene (1, 2, 3, 4)
- Delayed turn off (Resolution in seconds)
- Attributes
- model
- scene
- delayed_turn_off
### Philips LED Ceiling Lamp
Supported models: `philips.light.ceiling`, `philips.light.zyceiling`
- Power (on, off)
- Brightness
- Color temperature (175...370 mireds)
- Scene (1, 2, 3, 4)
- Night light mode (on, off)
- Delayed turn off (Resolution in seconds)
- Attributes
- model
- scene
- delayed_turn_off
- night_light_mode
- automatic_color_temperature
### Philips Eyecare Smart Lamp 2
Supported models: `philips.light.sread1`
- Eyecare light (on, off)
- Ambient light (on, off)
- Brightness (of each light)
- Scene (1, 2, 3, 4)
- Night light mode (on, off)
- Delayed turn off (Resolution in seconds)
- Eye fatigue reminder / notification (on, off)
- Eyecare mode (on, off)
- Attributes
- model
- scene
- delayed_turn_off
- night_light_mode
- reminder
- eyecare_mode
### Philips Zhirui Desk Lamp
Supported models: `philips.light.mono1`
- Power (on, off)
- Brightness
- Scene (1, 2, 3, 4)
- Delayed turn off (Resolution in seconds)
- Attributes
- model
- scene
- delayed_turn_off
### Philips Moonlight Bedside Lamp
Supported models: `philips.light.moonlight`
- Power (on, off)
- Brightness
- Color
- Color temperature (153...588 mireds)
- Scene (1, 2, 3, 4, 5, 6)
- Attributes
- model
- scene
- sleep_assistant
- sleep_off_time
- total_assistant_sleep_time
- brand_sleep
- brand
### Platform Services
### Custom Platform Services
### Service `xiaomi_miio.light_set_scene`
@ -1639,53 +765,9 @@ Turn the eyecare mode off.
|---------------------------|----------|-------------------------------------------------------|
| `entity_id` | no | Only act on a specific Xiaomi miIO light entity. |
## Xiaomi Smart WiFi Socket and Smart Power Strip
## Switches
The `xiaomi_miio` switch platform allows you to control the state of your Xiaomi Smart WiFi Socket aka Plug, Xiaomi Smart Power Strip and Xiaomi Chuangmi Plug V1.
### Features
### Xiaomi Smart WiFi Socket
Supported models: `chuangmi.plug.m1`, `chuangmi.plug.m3`, `chuangmi.plug.v2`, `chuangmi.plug.hmi205`, `chuangmi.plug.hmi206`
- Power (on, off)
- Attributes
- Temperature
### Xiaomi Chuangmi Plug V1
Supported models: `chuangmi.plug.v1`, `chuangmi.plug.v3`, `chuangmi.plug.hmi208`
- Power (on, off)
- USB (on, off)
- Attributes
- Temperature
### Xiaomi Smart Power Strip
Supported models: `qmi.powerstrip.v1`, `zimi.powerstrip.v2`
- Power (on, off)
- Wifi LED (on, off)
- Power Price (0...999)
- Power Mode (green, normal) (Power Strip V1 only)
- Attributes
- Temperature
- Current
- Load power
- Wifi LED
- Mode (Power Strip V1 only)
### Xiaomi Air Conditioning Companion V3
Supported models: `lumi.acpartner.v3` (the socket of the `acpartner.v1` and `v2` isn't switchable!)
- Power (on, off)
- Attributes
- Load power
### Platform Services
### Custom Platform Services
### Service `xiaomi_miio.switch_set_wifi_led_on` (Power Strip only)