-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Documents the added binary_sensor in the Velux integration #39894
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
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Warning Rate limit exceeded@wollew has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 31 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
📝 Walkthrough""" WalkthroughThe documentation for the Velux integration was updated to include "binary_sensor" as a supported platform. This update is reflected in both the metadata and the list of supported device types. Additional details about rain sensor polling and default disablement were added. No code or functional changes were made. Changes
Sequence Diagram(s)No sequence diagram generated as the changes are documentation-only. 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
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 (2)
source/_integrations/velux.markdown (2)
15-20
: Consider alphabetizingha_platforms
for consistency.The newly-added
binary_sensor
entry is correct, but the list is now out of alphabetical order (cover
,light
,scene
,binary_sensor
). Many integration front-matters keep these lists sorted to reduce merge-conflicts and aid scanning.ha_platforms: - - cover - - light - - scene - - binary_sensor + - binary_sensor + - cover + - light + - scene
28-34
: Add a short description of the new Binary Sensor.The bullet is correctly inserted, but users benefit from knowing what the sensor reports (e.g., rain sensor, window open/closed, fault state). A one-sentence parenthetical note right after the bullet list (or a dedicated subsection) would improve clarity.
Example:
- Binary Sensor *(reports rain detection and gateway fault status)*
📜 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
📒 Files selected for processing (1)
source/_integrations/velux.markdown
(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Redirect rules - home-assistant-docs
- GitHub Check: Header rules - home-assistant-docs
- GitHub Check: Pages changed - home-assistant-docs
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, @wollew 👍
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/velux.markdown (1)
35-35
: Tighten grammar & remove trailing spaceMinor language fixes and removal of trailing whitespace flagged by markdown-lint.
-Rain sensors of supported windows do not report automatically but need to be polled every 5 minutes. For this reason they are disabled per default because polling will use more radio bandwidth and battery power than just regularly reporting of changed window positions. +Rain sensors of supported windows do not report automatically and must be polled every 5 minutes. For this reason, they are disabled by default, because polling uses more radio bandwidth and battery power than simply reporting changed window positions.
📜 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
📒 Files selected for processing (1)
source/_integrations/velux.markdown
(2 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/velux.markdown
[typographical] ~35-~35: Use a comma after an introductory phrase.
Context: ... but need to be polled every 5 minutes. For this reason they are disabled per default because p...
(COMMA_INTRODUCTORY_WORDS_PHRASES)
🪛 markdownlint-cli2 (0.17.2)
source/_integrations/velux.markdown
35-35: Trailing spaces
Expected: 0 or 2; Actual: 1
(MD009, no-trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Redirect rules - home-assistant-docs
- GitHub Check: Header rules - home-assistant-docs
- GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (2)
source/_integrations/velux.markdown (2)
15-19
: Front-matter addition looks correct
binary_sensor
is correctly added toha_platforms
, and the list remains alphabetical.
No further action required.
28-32
: Bullet entry acceptedThe “Binary Sensor” list item now matches the terminology and style of the other device types.
No issues spotted.
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
♻️ Duplicate comments (1)
source/_integrations/velux.markdown (1)
30-30
: Use sentence-style capitalization for bulletPer the doc style guide, only the first word is capitalized.
- - Binary Sensor (reports rain detection for windows that support it) + - Binary sensor (reports rain detection for windows that support it)
🧹 Nitpick comments (2)
source/_integrations/velux.markdown (2)
16-19
: Keepha_platforms
list alphabetically sortedInsert
binary_sensor
in alphabetical order (aftercover
, beforelight
) to preserve the existing convention and improve scan-ability.
35-35
: Remove superfluous comma before “because”- … they are disabled by default, because polling uses more radio bandwidth … + … they are disabled by default because polling uses more radio bandwidth …
📜 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
📒 Files selected for processing (1)
source/_integrations/velux.markdown
(2 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/velux.markdown
[formatting] ~35-~35: If the ‘because’ clause is essential to the meaning, do not use a comma before the clause.
Context: ...his reason, they are disabled by default, because polling uses more radio bandwidth and b...
(COMMA_BEFORE_BECAUSE)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
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, @wollew 👍
Proposed change
Documentation for the added binary_sensor platform in the Velux integration
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit