Skip to content

Upload SwitchBot WWHA blog #39724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 26, 2025
Merged

Conversation

googanhiem
Copy link
Contributor

@googanhiem googanhiem commented Jun 26, 2025

Proposed change

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

  • New Features
    • Published a new blog post announcing SwitchBot as a partner in the Works with Home Assistant program, highlighting newly certified air purifiers and cleaning robots, supported connectivity options, and integration details.
    • Included a FAQ section and showcased the SwitchBot K20 cleaning robot and air purifier integration scenarios.

@home-assistant home-assistant bot added the current This PR goes into the current branch label Jun 26, 2025
Copy link

netlify bot commented Jun 26, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 1282879
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/685d5e8d44a1c00008ae42e5
😎 Deploy Preview https://deploy-preview-39724--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@googanhiem googanhiem marked this pull request as ready for review June 26, 2025 13:32
Copy link
Contributor

coderabbitai bot commented Jun 26, 2025

📝 Walkthrough

Walkthrough

A new blog post was added, announcing SwitchBot as a partner in the Works with Home Assistant program. The post details device certifications, integration options including Bluetooth and Matter, supported devices, integration scenarios, and includes a FAQ, images, and statements from SwitchBot’s co-founder. It also discusses current and future device support.

Changes

File(s) Change Summary
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown Added new blog post announcing SwitchBot joining Works with Home Assistant, detailing devices, integration methods, program requirements, and FAQ

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Blog
    participant HomeAssistant
    participant SwitchBot

    User->>Blog: Reads announcement post
    Blog->>SwitchBot: Describes partnership and certified devices
    Blog->>HomeAssistant: Details integration options (Bluetooth, Matter)
    Blog->>User: Provides FAQ and device support info
Loading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

coderabbitai bot commented Jun 26, 2025

📝 Walkthrough

Walkthrough

A new blog post was added, announcing SwitchBot as a partner in the Works with Home Assistant program. The post details device certifications, integration options, supported devices, and includes a FAQ, images, and statements from SwitchBot. It also discusses current and future device support and integration scenarios.

Changes

File(s) Change Summary
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown Added new blog post announcing SwitchBot joining Works with Home Assistant, with detailed content

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Blog
    participant HomeAssistant
    participant SwitchBot

    User->>Blog: Reads announcement post
    Blog->>SwitchBot: Describes partnership and certified devices
    Blog->>HomeAssistant: Details integration options (Bluetooth, Matter)
    Blog->>User: Provides FAQ and device support info
Loading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (1)

60-66: Minor style & spelling nitpicks for readability

Line 63 contains several small issues flagged by LanguageTool:

  • “multi-tasking” → “multitasking” (spelling)
  • Add a comma before the second “and” in “too long, and it starts”
  • “lots of” → “many” (conciseness)
  • “table top” → “table-top” or “tabletop” (compound noun)
  • Add a comma before “so” in “tabletop, so this device...”

These aren’t critical but polishing them prevents future copy-editing passes.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 8b9e3be and c4056a4.

⛔ Files ignored due to path filters (3)
  • source/images/blog/2025-06-switchbot/ vacuum.jpg is excluded by !**/*.jpg
  • source/images/blog/2025-06-switchbot/art.jpg is excluded by !**/*.jpg
  • source/images/blog/2025-06-switchbot/vacuum.jpg is excluded by !**/*.jpg
📒 Files selected for processing (1)
  • source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown

[style] ~32-~32: Consider using a different adverb to strengthen your wording.
Context: ...nt of the integration, and SwitchBot is very thankful for this work, they took a mor...

(VERY_DEEPLY)


[uncategorized] ~63-~63: Possible missing comma found.
Context: ... robot in the Works with Home Assistant program as well as the world's first multi-task...

(AI_HYDRA_LEO_MISSING_COMMA)


[misspelling] ~63-~63: This word is normally spelled as one.
Context: ...nt program as well as the world's first multi-tasking household robot. This wacky robot can b...

(EN_COMPOUNDS_MULTI_TASKING)


[style] ~63-~63: Consider using a synonym to be more concise.
Context: ...ot. This wacky robot can be paired with lots of other items in the range, including the...

(A_LOT_OF)


[uncategorized] ~63-~63: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...no, you've left a pan alone for too long and it starts to smell and burn. You could ...

(COMMA_COMPOUND_SENTENCE)


[misspelling] ~63-~63: This word is normally spelled with a hyphen.
Context: ...ent. Some of the items also come with a table top so this device has some great applicati...

(EN_COMPOUNDS_TABLE_TOP)


[uncategorized] ~63-~63: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ... of the items also come with a table top so this device has some great applications...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~73-~73: Possible missing comma found.
Context: ...ded to our testing later down the road. Though it might only have limited functions th...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown

38-38: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


39-39: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)


43-43: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


52-52: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


53-53: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)

🔇 Additional comments (1)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (1)

2-11: I’ll verify how front-matter is used in existing posts to confirm which keys are valid:

#!/bin/bash
set -e

echo "Searching for 'date_formatted' in source/_posts..."
rg "date_formatted" -n source/_posts || echo "<none found>"

echo
echo "Searching for 'og_image' in source/_posts..."
rg "og_image" -n source/_posts || echo "<none found>"

echo
echo "Searching for 'image:' in source/_posts..."
rg "^image:" -n source/_posts || echo "<none found>"

echo
echo "Searching for 'comments:' in source/_posts..."
rg "^comments:" -n source/_posts || echo "<none found>"

echo
echo "Inspecting 'categories:' usage in source/_posts (showing up to 2 lines of context)..."
rg -A2 "^categories:" -n source/_posts | head -n 50 || echo "<none found>"

c0ffeeca7
c0ffeeca7 previously approved these changes Jun 26, 2025
Copy link
Contributor

@c0ffeeca7 c0ffeeca7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @googanhiem 👍

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (2)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (2)

38-51: Convert bold labels to proper headings & surround lists with blank lines (still failing markdownlint)

This was already flagged in the previous review (MD036, MD032, MD009).
Nothing has changed, so the linter will still fail.

-**Bluetooth**
-- [SwitchBot Lock Ultra](...)
+### Bluetooth
+
+- [SwitchBot Lock Ultra](...)

Repeat the same pattern for the rest of the list and remove the stray double-spaces after some list items (e.g. lines 43-44).
Leaving this unresolved blocks publishing.


52-56: Same issue for the Matter-over-WiFi section

Please turn the emphasis into a heading and insert a blank line before the list:

-**Matter-Over-WiFi (standalone, without requiring a hub)**
-- [SwitchBot Air Purifier](...)
+### Matter-over-WiFi (stand-alone, no hub required)
+
+- [SwitchBot Air Purifier](...)
🧹 Nitpick comments (1)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (1)

61-64: Tighten wording & fix minor grammar issues

The paragraph is quite long and contains several LanguageTool warnings (missing commas, compound words). A quick clean-up improves readability:

-... program as well as the world's first multi-tasking household robot. This wacky robot can be paired with lots of other items in the range, including the certified air purifiers, to make some really cool Home Assistant use cases.
+... program, as well as the world's first multitasking household robot. This versatile robot can pair with many other items in the range, including the certified air purifiers, enabling some neat Home Assistant automations.

No functional impact, but worth polishing before publishing.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between c4056a4 and 1282879.

⛔ Files ignored due to path filters (1)
  • source/images/blog/2025-06-switchbot/vacuum.jpg is excluded by !**/*.jpg
📒 Files selected for processing (1)
  • source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown

[style] ~32-~32: Consider using a different adverb to strengthen your wording.
Context: ...nt of the integration, and SwitchBot is very thankful for this work, they took a mor...

(VERY_DEEPLY)


[uncategorized] ~63-~63: Possible missing comma found.
Context: ... robot in the Works with Home Assistant program as well as the world's first multi-task...

(AI_HYDRA_LEO_MISSING_COMMA)


[misspelling] ~63-~63: This word is normally spelled as one.
Context: ...nt program as well as the world's first multi-tasking household robot. This wacky robot can b...

(EN_COMPOUNDS_MULTI_TASKING)


[style] ~63-~63: Consider using a synonym to be more concise.
Context: ...ot. This wacky robot can be paired with lots of other items in the range, including the...

(A_LOT_OF)


[uncategorized] ~63-~63: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...no, you've left a pan alone for too long and it starts to smell and burn. You could ...

(COMMA_COMPOUND_SENTENCE)


[misspelling] ~63-~63: This word is normally spelled with a hyphen.
Context: ...ent. Some of the items also come with a table top so this device has some great applicati...

(EN_COMPOUNDS_TABLE_TOP)


[uncategorized] ~63-~63: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ... of the items also come with a table top so this device has some great applications...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~73-~73: Possible missing comma found.
Context: ...ded to our testing later down the road. Though it might only have limited functions th...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
source/_posts/2025-06-26-switchbot-joins-works-with-home-assistant.markdown

38-38: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


39-39: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)


43-43: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


52-52: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


53-53: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs

@joostlek joostlek merged commit 08afba3 into home-assistant:current Jun 26, 2025
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
current This PR goes into the current branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants