-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add docs for switchbot circulator fan #38545
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
base: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe documentation for the SwitchBot integration was updated to add information about the Circulator Fan device, including its supported features and how it is represented in Home Assistant. The Circulator Fan was included in the list of supported devices, and a new section was created to describe its capabilities. Additionally, the Roller Shade section's table header was corrected, and its formatting was adjusted for clarity. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HomeAssistant
participant SwitchBot Circulator Fan
User -> HomeAssistant: Interacts with Circulator Fan entity (e.g., turn on, change speed)
HomeAssistant -> SwitchBot Circulator Fan: Sends command (on/off, mode, speed, shake head)
SwitchBot Circulator Fan -> HomeAssistant: Executes action and updates state
HomeAssistant -> User: Reflects updated state in UI
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this 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
🧹 Nitpick comments (1)
source/_integrations/switchbot.markdown (1)
181-184
: Grammar improvement needed in Circulator Fan section.The sentence "the integration will allow to change the device mode, adjust the fan speed, shake the head left and right, turn on and turn off" is awkward. For clarity and correctness, use "allow you to change" or "allow changing".
Suggested revision:
-The Circulator Fan is exposed as a fan entity, depending on the features supported by the device, the integration will allow to change the device mode, adjust the fan speed, shake the head left and right, turn on and turn off +The Circulator Fan is exposed as a fan entity. Depending on the features supported by the device, the integration will allow you to change the device mode, adjust the fan speed, shake the head left and right, and turn the fan on or off.🧰 Tools
🪛 LanguageTool
[grammar] ~183-~183: Did you mean “changing”? Or maybe you should add a pronoun? In active voice, ‘allow’ + ‘to’ takes an object, usually a pronoun.
Context: ... the device, the integration will allow to change the device mode, adjust the fan speed, ...(ALLOW_TO)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/switchbot.markdown
(3 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/switchbot.markdown
[grammar] ~183-~183: Did you mean “changing”? Or maybe you should add a pronoun? In active voice, ‘allow’ + ‘to’ takes an object, usually a pronoun.
Context: ... the device, the integration will allow to change the device mode, adjust the fan speed, ...
(ALLOW_TO)
🔇 Additional comments (2)
source/_integrations/switchbot.markdown (2)
75-75
: Addition of Circulator Fan to supported devices is clear and correct.The Circulator Fan is properly added to the supported devices list with a direct product link. No issues found.
138-141
: Roller Shade table header and formatting improved.Changing the header to "position" and clarifying the open/close logic improves readability and accuracy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @zerzhang 👍
There was a problem hiding this 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
🧹 Nitpick comments (1)
source/_integrations/switchbot.markdown (1)
181-184
: Reword Circulator Fan section for clarity and style; remove trailing space.The section is informative, but the sentence can be improved for clarity and flow. Also, remove the trailing space at the end of line 183 to comply with markdown linting standards.
Recommended revision:
-The Circulator Fan is exposed as a fan entity. Depending on the features supported by the device, the integration will allow you to change the device mode, adjust the fan speed, shake the head left and right, turn on and turn off. +The Circulator Fan is exposed as a fan entity. Depending on the features supported by the device, the integration will allow you to change the device mode, adjust the fan speed, shake the head left and right, and turn the device on or off.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
183-183: Trailing spaces
Expected: 0 or 2; Actual: 1(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/switchbot.markdown
(3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_integrations/switchbot.markdown
183-183: Trailing spaces
Expected: 0 or 2; Actual: 1
(MD009, no-trailing-spaces)
🔇 Additional comments (1)
source/_integrations/switchbot.markdown (1)
75-75
: Addition of Circulator Fan to supported devices is clear and correct.The Circulator Fan is properly added to the list of supported devices with a product link, matching the style of other entries.
Proposed change
Add Switchbot Circulator Fan
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit