mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update roborock.markdown with example of service call to get_maps (#33737)
* Update roborock.markdown with example of service call to get_maps * Update source/_integrations/roborock.markdown Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update source/_integrations/roborock.markdown * Update source/_integrations/roborock.markdown * Tweak formatting --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: c0ffeeca7 <k0ffeeka7@gmail.com>
This commit is contained in:
parent
132f76d78c
commit
8fa0302826
@ -174,20 +174,33 @@ We are working on adding a lot of features to the core integration. We have reve
|
|||||||
### How can I clean a specific room?
|
### How can I clean a specific room?
|
||||||
We plan to make the process simpler in the future, but for now, it is a multi-step process.
|
We plan to make the process simpler in the future, but for now, it is a multi-step process.
|
||||||
1. Make sure to first name the rooms in the Roborock app; otherwise, they won't appear in the debug log.
|
1. Make sure to first name the rooms in the Roborock app; otherwise, they won't appear in the debug log.
|
||||||
2. Go to {% my developer_call_service service="roborock.get_maps" title="**Developer Tools** > **Services** > **Roborock: Get maps**" %}. Select your vacuum as the entity. Note that room IDs and names are only updated on the currently selected map. If you don't see the rooms you expect, you should select the other map through your app or through the `load_multi_map` service.
|
2. Go to {% my developer_call_service service="roborock.get_maps" title="**Developer Tools** > **Services** > **Roborock: Get Maps**" %}. Select your vacuum as the entity. Note that room IDs and names are only updated on the currently selected map.
|
||||||
You will get a response like this:
|
|
||||||
```json
|
- **Request**: Your request should look like:
|
||||||
vacuum.s7_roborock:
|
|
||||||
maps:
|
```yaml
|
||||||
- flag: 0
|
service: roborock.get_maps
|
||||||
name: Downstairs
|
target:
|
||||||
rooms:
|
entity_id: vacuum.s7_roborock
|
||||||
"16": Kitchen
|
data: {}
|
||||||
"17": Living room
|
```
|
||||||
```
|
|
||||||
|
- **Result**: You will get a response like this:
|
||||||
|
|
||||||
|
```json
|
||||||
|
vacuum.s7_roborock:
|
||||||
|
maps:
|
||||||
|
- flag: 0
|
||||||
|
name: Downstairs
|
||||||
|
rooms:
|
||||||
|
"16": Kitchen
|
||||||
|
"17": Living room
|
||||||
|
```
|
||||||
|
|
||||||
3. Go back to {% my developer_call_service service="vacuum.send_command" title="**Developer Tools** > **Services** > **Vacuum: Send Command**" %} then type `app_segment_clean` as your command and `segments` with a list of the 2-digit IDs you want to clean. Then, add `repeat` with a number (ranging from 1 to 3) to determine how many times you want to clean these areas.
|
3. Go back to {% my developer_call_service service="vacuum.send_command" title="**Developer Tools** > **Services** > **Vacuum: Send Command**" %} then type `app_segment_clean` as your command and `segments` with a list of the 2-digit IDs you want to clean. Then, add `repeat` with a number (ranging from 1 to 3) to determine how many times you want to clean these areas.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: vacuum.send_command
|
service: vacuum.send_command
|
||||||
data:
|
data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user