Skip to content

Commit eaa3fb7

Browse files
authored
Enforce Markdown ordered list marker style (home-assistant#28174)
1 parent 1170f37 commit eaa3fb7

4 files changed

Lines changed: 29 additions & 8 deletions

File tree

.remarkrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ var remarkrc = {
1515
["remark-lint-heading-increment"],
1616
["remark-lint-heading-style", "atx"],
1717
["remark-lint-unordered-list-marker-style", "-"],
18+
["remark-lint-ordered-list-marker-style", "."],
1819
[
1920
"remark-lint-prohibited-strings",
2021
[

package-lock.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"remark-lint-heading-increment": "^3.1.2",
1111
"remark-lint-heading-style": "^3.1.2",
1212
"remark-lint-no-shell-dollars": "^3.1.2",
13+
"remark-lint-ordered-list-marker-style": "^3.1.2",
1314
"remark-lint-prohibited-strings": "^3.1.0",
1415
"remark-lint-unordered-list-marker-style": "^3.1.2",
1516
"remark-stringify": "^10.0.3",

source/_integrations/roborock.markdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ We are working on adding a lot of features to the core integration. We have reve
5252

5353
### How can I clean a specific room?
5454
We plan to make the process simpler in the future, but for now, it is a multi-step process.
55-
1) Make sure to first name the rooms in the Roborock app; otherwise, they won't appear in the debug log.
56-
2) [Enable debug logging](/docs/configuration/troubleshooting/#enabling-debug-logging) for this integration and reload it.
57-
3) Search your logs for 'Got home data' and find the attribute rooms.
58-
4) Write the rooms down; they have a name and 6 digit ID.
59-
5) Go to {% my developer_call_service service="vacuum.send_command" title="**Developer Tools** > **Services** > **Vacuum: Send Command**" %}. Select your vacuum as the entity and `get_room_mapping` as the command.
60-
6) Go back to your logs and look at the response to `get_room_mapping`. This is a list of the 6-digit IDs you saw earlier to 2-digit IDs. In your original list of room names and 6-digit IDs, replace the 6-digit ID with its pairing 2-digit ID.
61-
7) Now, you have the 2-digit ID that your vacuum uses to describe a room.
62-
8) 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.
55+
1. Make sure to first name the rooms in the Roborock app; otherwise, they won't appear in the debug log.
56+
2. [Enable debug logging](/docs/configuration/troubleshooting/#enabling-debug-logging) for this integration and reload it.
57+
3. Search your logs for 'Got home data' and find the attribute rooms.
58+
4. Write the rooms down; they have a name and 6 digit ID.
59+
5. Go to {% my developer_call_service service="vacuum.send_command" title="**Developer Tools** > **Services** > **Vacuum: Send Command**" %}. Select your vacuum as the entity and `get_room_mapping` as the command.
60+
6. Go back to your logs and look at the response to `get_room_mapping`. This is a list of the 6-digit IDs you saw earlier to 2-digit IDs. In your original list of room names and 6-digit IDs, replace the 6-digit ID with its pairing 2-digit ID.
61+
7. Now, you have the 2-digit ID that your vacuum uses to describe a room.
62+
8. 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.
6363

6464
Example:
6565
```yaml

0 commit comments

Comments
 (0)