diff --git a/source/_components/vacuum.markdown b/source/_components/vacuum.markdown index 08af82d66ac..c9fe999c4c6 100644 --- a/source/_components/vacuum.markdown +++ b/source/_components/vacuum.markdown @@ -24,7 +24,7 @@ vacuum: ### {% linkable_title Component services %} -Available services: `turn_on`, `turn_off`, `start_pause`, `stop`, `return_to_home`, `locate`, `set_fanspeed` and `send_command`. +Available services: `turn_on`, `turn_off`, `start_pause`, `stop`, `return_to_home`, `locate`, `clean_spot`, `set_fanspeed` and `send_command`. Before calling one of these services, make sure your botvac platform supports it. @@ -70,7 +70,15 @@ Tell the botvac to return home. #### {% linkable_title Service `vacuum/locate` %} -Start a new cleaning task. +Locate the vacuum cleaner robot. + +| Service data attribute | Optional | Description | +|---------------------------|----------|-------------------------------------------------------| +| `entity_id` | yes | Only act on specific botvac. Else targets all. | + +#### {% linkable_title Service `vacuum/clean_spot` %} + +Tell the vacuum cleaner to do a spot clean-up. | Service data attribute | Optional | Description | |---------------------------|----------|-------------------------------------------------------| diff --git a/source/_components/vacuum.xiaomi.markdown b/source/_components/vacuum.xiaomi.markdown index 92582c58a2b..4f4bde313d3 100644 --- a/source/_components/vacuum.xiaomi.markdown +++ b/source/_components/vacuum.xiaomi.markdown @@ -9,12 +9,12 @@ sharing: true footer: true logo: xiaomi.png ha_category: Hub -ha_release: 0.50 +ha_release: 0.51 --- The `xiaomi` vacuum platform allows you to control the state of your [Xiaomi Mi Robot Vacuum](http://www.mi.com/roomrobot/). -Current supported features are `turn_on`, `pause`, `stop`, `return_to_home`, `turn_off` (stops goes to dock), `locate`, `set_fanspeed` and even remote control your robot. +Current supported features are `turn_on`, `pause`, `stop`, `return_to_home`, `turn_off` (stops goes to dock), `locate`, `clean_spot`, `set_fanspeed` and even remote control your robot. ## {% linkable_title Getting started %} @@ -23,7 +23,7 @@ Follow the pairing process using your phone and Mi-Home app. From here you will

If your Home Assistant installation is running in a [Virtualenv](/docs/installation/virtualenv/#upgrading-home-assistant), make sure you activate it by running the commands below.

-```bash +```bash $ sudo su -s /bin/bash homeassistant $ source /srv/homeassistant/bin/activate ``` @@ -41,7 +41,7 @@ In order to fetch the token follow these instructions depending on your mobile p 5. If you have this message : "More than one device or emulator", use this command to list all devices: ```bash .\adb devices -``` +``` and execute this command: ```bash .\adb -s DEVICEID backup -noapk com.xiaomi.smarthome -f backup.ab # (with DEVICEID the device id from the previous command)