Add roborock action Set Vacuum Zoned Cleaning#45686
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds documentation for starting a Roborock zoned-clean action in the integration docs.
Changes:
- Documented the new
roborock.set_vacuum_zoned_cleaningaction and its required parameters. - Added a YAML example demonstrating how to call the action with coordinates and repeat count.
| - **Data attribute**: `repeats` | ||
| - **Description**: Number of times to clean the zone. | ||
| - **Optional**: No. |
|
|
||
| ##### Action Set Vacuum Zoned Cleaning | ||
|
|
||
| The `roborock.set_vacuum_zoned_cleaning` action will start cleaning a |
There was a problem hiding this comment.
Please remove the line length limit and apply the flowing text style.
| - **Data attribute**: `repeats` | ||
| - **Description**: Number of times to clean the zone. | ||
| - **Optional**: No. |
There was a problem hiding this comment.
| - **Data attribute**: `repeats` | |
| - **Description**: Number of times to clean the zone. | |
| - **Optional**: No. | |
| - **Data attribute**: `repeats` | |
| - **Description**: Number of additional times the zone cleaning is repeated. `0` cleans the zone once. Allowed values are `0`, `1`, or `2`. | |
| - **Optional**: No. |
I think Copilot has a point there. Maybe something like this? Please edit if I got it wrong.
| You can use the `roborock.get_vacuum_current_position` action to help determine | ||
| the coordinates for the zone. |
There was a problem hiding this comment.
| You can use the `roborock.get_vacuum_current_position` action to help determine | |
| the coordinates for the zone. | |
| You can use the `roborock.get_vacuum_current_position` action to help determine | |
| the coordinates for the zone. The coordinates are in the vacuum's internal map coordinate system (the same one used by `roborock.get_vacuum_current_position` and `roborock.set_vacuum_goto_position`). The dock is located near `(25500, 25500)`. `(x1, y1)` and `(x2, y2)` are two opposite corners of the rectangular zone. |
Would it be worth adding some context here about the coordinate system?
| y1: 21363 | ||
| x2: 27425 | ||
| y2: 22816 | ||
| repeats: 0 |
There was a problem hiding this comment.
| repeats: 0 | |
| # Clean the zone once, then repeat it one more time (two passes total). | |
| repeats: 1 |
Maybe change it to 1, with an explainer?
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Proposed change
Add description for Roborock zoned cleaning action
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.