-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Vesync Binary Sensor #37004
base: next
Are you sure you want to change the base?
Vesync Binary Sensor #37004
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe pull request updates the VeSync integration documentation to include a new binary sensor platform. The documentation now describes two new binary sensor attributes: Changes
Sequence DiagramsequenceDiagram
participant Device as VeSync Device
participant HA as Home Assistant
participant BinarySensor as Binary Sensor
Device-->>HA: Send device status
HA->>BinarySensor: Create binary sensor state
BinarySensor-->>HA: Update with water status attributes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/vesync.markdown
(3 hunks)
⏰ 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
🔇 Additional comments (2)
source/_integrations/vesync.markdown (2)
19-19
: LGTM! Binary sensor platform correctly added.The binary sensor platform is properly added to the
ha_platforms
list in alphabetical order.
36-36
: LGTM! Binary sensor platform correctly listed.The binary sensor platform is properly added to the supported platforms list in alphabetical order.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
source/_integrations/vesync.markdown (1)
145-150
: Add blank lines around the table.To follow markdown best practices and fix the linting error, please add blank lines before and after the table.
Apply this diff:
## Binary Sensors | Binary Sensor | Description | Example | | ----------------------- | ---------------------------------------------------------------------------------- | --------- | | `water_lacks` | Indicates whether the device needs a water refill | false | | `water_tank_lifted` | Water tank is lifted | false | + ## Extracting attribute data
🧰 Tools
🪛 Markdownlint (0.37.0)
150-150: null
Tables should be surrounded by blank lines(MD058, blanks-around-tables)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/vesync.markdown
(3 hunks)
🧰 Additional context used
🪛 Markdownlint (0.37.0)
source/_integrations/vesync.markdown
150-150: null
Tables should be surrounded by blank lines
(MD058, blanks-around-tables)
⏰ 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
🔇 Additional comments (2)
source/_integrations/vesync.markdown (2)
19-19
: LGTM! Platform declaration follows standards.The binary sensor platform is correctly added to the ha_platforms list in alphabetical order.
36-36
: LGTM! Platform listing follows standards.The binary sensor platform is correctly added to the supported platforms list in alphabetical order.
Proposed change
Added binary sensor reference for vesync
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
water_lacks
: Indicates if the device requires a water refill.water_tank_lifted
: Indicates if the water tank is lifted.