-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Add documentation for virtual Harvey integration #36502
Add documentation for virtual Harvey integration #36502
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe pull request introduces a new markdown file for the Harvey integration in Home Assistant. This file provides comprehensive metadata about integrating Harvey water softeners with Home Assistant through the AquaCell integration. The documentation details the integration's characteristics, including its sensor domain, virtual integration type, cloud polling IoT class, and configuration flow support. Changes
Sequence DiagramsequenceDiagram
participant User
participant HA as Home Assistant
participant Cloud as AquaCell Cloud
participant Harvey as Harvey Water Softener
User->>HA: Configure Harvey Integration
HA->>Cloud: Request Device Data
Cloud->>Harvey: Fetch Sensor Information
Harvey-->>Cloud: Return Sensor Data
Cloud-->>HA: Provide Device Metrics
HA->>User: Display Harvey Sensor Information
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: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/harvey.markdown
(1 hunks)
🔇 Additional comments (2)
source/_integrations/harvey.markdown (2)
7-7
: Verify the release version
The release version is set to 2025.1
. Please confirm if this is intentional or if it should be aligned with the next upcoming release.
1-19
: Verify brand assets and documentation standards
Let's verify the brand assets and documentation structure.
✅ Verification successful
Documentation structure and brand references are correct
The documentation follows the standard virtual integration pattern, correctly referencing:
- Supporting domain (aquacell) and integration (AquaCell)
- Required frontmatter fields
- Proper use of the supported_brand.md include
The AquaCell integration exists and is properly documented as the supporting integration, with Harvey being correctly set up as a virtual integration pointing to it.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify brand assets and documentation structure
# Check if brands PR exists and is referenced
echo "Checking for brands PR reference..."
rg -l "harvey.*brand" .
# Verify documentation structure matches other virtual integrations
echo "Checking other virtual integration examples..."
fd -e markdown -e md . | xargs rg "ha_integration_type: virtual" -l
# Check for common documentation sections in other integrations
echo "Checking common documentation sections..."
fd -e markdown -e md . | xargs rg "## Prerequisites|## Configuration|## Available|## Troubleshooting" -l
Length of output: 29040
Script:
#!/bin/bash
# Let's verify specific aspects of virtual integrations and documentation standards
# Check documentation structure of other virtual integrations that use supporting domains
echo "Checking virtual integrations with supporting domains..."
fd -e markdown -e md . | xargs rg "ha_supporting_domain:|ha_supporting_integration:" -A 2
# Check if AquaCell integration exists and its structure
echo "Checking AquaCell integration..."
fd "aquacell.markdown" . -x cat {}
# Check common sections in virtual integrations
echo "Checking sections in other virtual integrations..."
fd -e markdown -e md . | xargs rg "ha_integration_type: virtual" -A 20
Length of output: 66616
ha_integration_type: virtual | ||
ha_supporting_domain: aquacell | ||
ha_supporting_integration: AquaCell |
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.
🛠️ Refactor suggestion
Add explanation for virtual integration relationship
Since this is a virtual integration depending on AquaCell, it would be helpful to explain:
- Why this is a virtual integration
- The relationship between Harvey and AquaCell
- Prerequisites for using this integration
ha_iot_class: Cloud Polling | ||
--- | ||
|
||
{% include integrations/supported_brand.md %} |
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.
Documentation content is incomplete
The documentation requires additional sections to be useful for users:
- Add a detailed description of the integration and its features
- Include setup instructions and prerequisites
- Document available sensors and their attributes
- Add configuration examples
- Include a troubleshooting section
- Add a reference to the parent PR Add Harvey virtual integration core#133874
Here's a suggested structure:
{% include integrations/supported_brand.md %}
## Prerequisites
Before setting up the Harvey integration, you need:
- A Harvey water softener connected to AquaCell
- The AquaCell integration configured in Home Assistant
## Configuration
This integration can be configured through the UI:
1. Go to **Settings** > **Devices & Services**
2. Click the **+ ADD INTEGRATION** button
3. Search for "Harvey"
4. Follow the configuration flow
## Available Sensors
The following sensors are available:
- List sensors here
- Include their units and possible values
## Troubleshooting
Common issues and their solutions:
- Add common issues
- Add solutions
{% details "Related PRs" %}
- Parent PR: [home-assistant/core#133874](https://github.com/home-assistant/core/pull/133874)
- Brands PR: [Add link to your brands PR here]
{% enddetails %}
Proposed change
Adds documentation for Harvey virtual integration.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit