Skip to content
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

Sync config with the new config flow #37018

Open
wants to merge 4 commits into
base: next
Choose a base branch
from

Conversation

cereal2nd
Copy link
Contributor

@cereal2nd cereal2nd commented Jan 20, 2025

Proposed change

Line up the docu with the configflow rework

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

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

  • Documentation
    • Updated Velbus integration documentation with more detailed configuration instructions.
    • Enhanced explanations for USB and TCP/IP connection methods.
    • Added configuration examples for Signum and Velser connections.
    • Improved document structure and readability.
    • Retained relevant note regarding pushbutton LEDs in the configuration process.

@home-assistant home-assistant bot added has-parent This PR has a parent PR in a other repo next This PR goes into the next branch labels Jan 20, 2025
Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 2246156
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/678e677fd84f0e0008bf5b3a
😎 Deploy Preview https://deploy-preview-37018--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 site configuration.

Copy link
Contributor

coderabbitai bot commented Jan 20, 2025

Warning

Rate limit exceeded

@cereal2nd has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 18 minutes and 50 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

📥 Commits

Reviewing files that changed from the base of the PR and between b43efb8 and 2246156.

📒 Files selected for processing (1)
  • source/_integrations/velbus.markdown (1 hunks)
📝 Walkthrough

Walkthrough

The pull request updates the Velbus integration documentation in the source markdown file, focusing on improving the configuration instructions for Velbus device connections. The changes provide more detailed and structured guidance on connecting via USB and TCP/IP methods, including specific configuration parameters, connection testing procedures, and examples for different device types like Signum and Velser.

Changes

File Change Summary
source/_integrations/velbus.markdown - Updated configuration section header from "### Configuration parameters" to "## Configuration parameters"
- Expanded USB connection method with detailed interface selection and connection testing instructions
- Added comprehensive TCP/IP connection section with parameters like tls, host, port, and password
- Included configuration examples for Signum and Velser devices
- Repositioned existing note about pushbutton LEDs

Sequence Diagram

sequenceDiagram
    participant User
    participant Velbus Device
    participant Home Assistant

    User->>Home Assistant: Configure Velbus Integration
    alt USB Connection
        User->>Home Assistant: Select USB Interface
        Home Assistant->>Velbus Device: Test Connection
    else TCP/IP Connection
        User->>Home Assistant: Provide Host, Port, Password
        Home Assistant->>Velbus Device: Establish Secure Connection
    end
    Velbus Device-->>Home Assistant: Connection Established
Loading

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?

❤️ 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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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. (Beta)
  • @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: 0

🧹 Nitpick comments (5)
source/_integrations/velbus.markdown (5)

37-42: Fix grammar and spelling issues in the introduction.

Please address the following issues:

  • Add a comma after "During the setup"
  • Fix the spelling of "choises" to "choices"
-During the setup you will be shown 2 choises on ways to connect to the Velbus bus:
+During the setup, you will be shown 2 choices on ways to connect to the Velbus bus:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~39-~39: A comma might be missing here.
Context: ...## Configuration parameters During the setup you will be shown 2 choises on ways to ...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


44-52: Fix terminology, grammar, and formatting issues in the USB section.

Please address the following issues:

  • Use "USB" instead of "usb" in line 47
  • Fix "its" to "it's" in line 50
  • Remove the extra blank line at line 52
-The interface usb devices are automatically detected and shown in a list.
+The interface USB devices are automatically detected and shown in a list.

-There will be a connection test to make sure the connection is working, and if its working the integration will be added to Home Assistant.
+There will be a connection test to make sure the connection is working, and if it's working, the integration will be added to Home Assistant.
🧰 Tools
🪛 LanguageTool

[grammar] ~50-~50: Did you mean “it’s” (curly apostrophe) or “it's” (straight apostrophe)?
Context: ... sure the connection is working, and if its working the integration will be added t...

(ITS_IT_S)


[uncategorized] ~50-~50: A comma might be missing here.
Context: ...e the connection is working, and if its working the integration will be added to Home A...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

🪛 Markdownlint (0.37.0)

52-52: Expected: 1; Actual: 2
Multiple consecutive blank lines

(MD012, no-multiple-blanks)

🪛 GitHub Actions: home-assistant.io Test

[error] 47-47: Incorrect usage of the term: "usb", use "USB" instead


53-67: Fix preposition usage in the TCP/IP introduction.

Change "in your network" to "on your network" for better clarity.

-The TCP/IP connection is a way to connect to the Velbus bus. You will need a Velbus TCP/IP interface available in your network.
+The TCP/IP connection is a way to connect to the Velbus bus. You will need a Velbus TCP/IP interface available on your network.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~55-~55: The preposition “on” seems more likely in this position than the preposition “in”.
Context: ...eed a Velbus TCP/IP interface available in your network. There are a couple of pa...

(AI_EN_LECTOR_REPLACEMENT_PREPOSITION_IN_ON)

🪛 Markdownlint (0.37.0)

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

(MD032, blanks-around-lists)


68-80: Fix IP terminology in Signum and Velser examples.

Replace "ip" with "IP" in the host descriptions.

-host: your signum ip address
+host: your signum IP address

-host: your velser ip address
+host: your velser IP address
🧰 Tools
🪛 GitHub Actions: home-assistant.io Test

[error] 71-71: Incorrect usage of the term: "ip", use "IP" instead


[error] 78-78: Incorrect usage of the term: "ip", use "IP" instead


82-87: Fix terminology in Home Assistant add-on example.

Please address the following terminology issues:

  • Replace "hassio addon" with "Home Assistant add-on"
  • Replace "hassio" with "Home Assistant"
  • Replace "ip" with "IP"
-#### Example: hassio addon
+#### Example: Home Assistant add-on

-host: your hassio ip address
+host: your Home Assistant IP address
🧰 Tools
🪛 GitHub Actions: home-assistant.io Test

[error] 82-82: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 82-82: Incorrect usage of the term: "addon", use "add-on" instead


[error] 85-85: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 85-85: Incorrect usage of the term: "ip", use "IP" instead

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5fa72e0 and 74828a0.

📒 Files selected for processing (1)
  • source/_integrations/velbus.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/velbus.markdown

[uncategorized] ~39-~39: A comma might be missing here.
Context: ...## Configuration parameters During the setup you will be shown 2 choises on ways to ...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[grammar] ~50-~50: Did you mean “it’s” (curly apostrophe) or “it's” (straight apostrophe)?
Context: ... sure the connection is working, and if its working the integration will be added t...

(ITS_IT_S)


[uncategorized] ~50-~50: A comma might be missing here.
Context: ...e the connection is working, and if its working the integration will be added to Home A...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[uncategorized] ~55-~55: The preposition “on” seems more likely in this position than the preposition “in”.
Context: ...eed a Velbus TCP/IP interface available in your network. There are a couple of pa...

(AI_EN_LECTOR_REPLACEMENT_PREPOSITION_IN_ON)

🪛 Markdownlint (0.37.0)
source/_integrations/velbus.markdown

52-52: Expected: 1; Actual: 2
Multiple consecutive blank lines

(MD012, no-multiple-blanks)


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

(MD032, blanks-around-lists)

🪛 GitHub Actions: home-assistant.io Test
source/_integrations/velbus.markdown

[error] 47-47: Incorrect usage of the term: "usb", use "USB" instead


[error] 71-71: Incorrect usage of the term: "ip", use "IP" instead


[error] 78-78: Incorrect usage of the term: "ip", use "IP" instead


[error] 82-82: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 82-82: Incorrect usage of the term: "addon", use "add-on" instead


[error] 85-85: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 85-85: Incorrect usage of the term: "ip", use "IP" instead

⏰ 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 (1)
source/_integrations/velbus.markdown (1)

37-87: Well-structured documentation with comprehensive examples!

The documentation provides clear instructions for both USB and TCP/IP connection methods, with detailed examples for different scenarios. The structure is logical and easy to follow.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~39-~39: A comma might be missing here.
Context: ...## Configuration parameters During the setup you will be shown 2 choises on ways to ...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[grammar] ~50-~50: Did you mean “it’s” (curly apostrophe) or “it's” (straight apostrophe)?
Context: ... sure the connection is working, and if its working the integration will be added t...

(ITS_IT_S)


[uncategorized] ~50-~50: A comma might be missing here.
Context: ...e the connection is working, and if its working the integration will be added to Home A...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[uncategorized] ~55-~55: The preposition “on” seems more likely in this position than the preposition “in”.
Context: ...eed a Velbus TCP/IP interface available in your network. There are a couple of pa...

(AI_EN_LECTOR_REPLACEMENT_PREPOSITION_IN_ON)

🪛 Markdownlint (0.37.0)

52-52: Expected: 1; Actual: 2
Multiple consecutive blank lines

(MD012, no-multiple-blanks)


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

(MD032, blanks-around-lists)

🪛 GitHub Actions: home-assistant.io Test

[error] 47-47: Incorrect usage of the term: "usb", use "USB" instead


[error] 71-71: Incorrect usage of the term: "ip", use "IP" instead


[error] 78-78: Incorrect usage of the term: "ip", use "IP" instead


[error] 82-82: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 82-82: Incorrect usage of the term: "addon", use "add-on" instead


[error] 85-85: Incorrect usage of the term: "hassio", use "Home Assistant" instead


[error] 85-85: Incorrect usage of the term: "ip", use "IP" instead

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 (3)
source/_integrations/velbus.markdown (3)

37-42: Fix grammar and spelling in the configuration introduction.

Please apply the following corrections:

  • "choises" should be "choices"
  • Add a comma after "During the setup"
-During the setup you will be shown 2 choises on ways to connect to the Velbus bus:
+During the setup, you will be shown 2 choices on ways to connect to the Velbus bus:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~39-~39: Possible missing comma found.
Context: ...## Configuration parameters During the setup you will be shown 2 choises on ways to ...

(AI_HYDRA_LEO_MISSING_COMMA)


44-50: Fix grammar in the USB connection section.

The content is clear and well-structured, but there's a grammar error that needs to be fixed.

-There will be a connection test to make sure the connection is working, and if its working the integration will be added to Home Assistant.
+There will be a connection test to make sure the connection is working, and if it's working the integration will be added to Home Assistant.
🧰 Tools
🪛 LanguageTool

[grammar] ~50-~50: Did you mean “it’s” (curly apostrophe) or “it's” (straight apostrophe)?
Context: ... sure the connection is working, and if its working the integration will be added t...

(ITS_IT_S)


52-52: Fix markdown formatting issues.

Please address the following markdown formatting issues:

  1. Remove extra blank line at line 52
  2. Add blank lines around the parameter list (lines 58-61)

Also applies to: 58-61

🧰 Tools
🪛 Markdownlint (0.37.0)

52-52: Expected: 1; Actual: 2
Multiple consecutive blank lines

(MD012, no-multiple-blanks)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 74828a0 and b43efb8.

📒 Files selected for processing (1)
  • source/_integrations/velbus.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/velbus.markdown

[uncategorized] ~39-~39: Possible missing comma found.
Context: ...## Configuration parameters During the setup you will be shown 2 choises on ways to ...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~50-~50: Did you mean “it’s” (curly apostrophe) or “it's” (straight apostrophe)?
Context: ... sure the connection is working, and if its working the integration will be added t...

(ITS_IT_S)

🪛 Markdownlint (0.37.0)
source/_integrations/velbus.markdown

52-52: Expected: 1; Actual: 2
Multiple consecutive blank lines

(MD012, no-multiple-blanks)


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

(MD032, blanks-around-lists)

🪛 GitHub Actions: home-assistant.io Test
source/_integrations/velbus.markdown

[error] 82-82: Incorrect usage of the term: "hassio", use "Home Assistant" instead

⏰ 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 (3)
source/_integrations/velbus.markdown (3)

53-66: LGTM! Clear and well-structured TCP/IP configuration documentation.

The TCP/IP connection parameters are well-documented with clear explanations for each parameter.

🧰 Tools
🪛 Markdownlint (0.37.0)

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

(MD032, blanks-around-lists)


68-74: LGTM! Clear example configuration for Signum.

The example provides all necessary parameters with clear values.


75-80: LGTM! Clear example configuration for Velser.

The example provides all necessary parameters with appropriate values.

source/_integrations/velbus.markdown Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-parent This PR has a parent PR in a other repo next This PR goes into the next branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant