Skip to content

Add reference for other enocean gateways #36275

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

Draft
wants to merge 5 commits into
base: current
Choose a base branch
from

Conversation

lvlerber
Copy link

@lvlerber lvlerber commented Dec 10, 2024

Proposed change

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • [ x] 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

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

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 the EnOcean integration documentation to clarify controller compatibility, specifically noting unsupported controllers (Eltako FAM14, FGW14-USB, FAM-USB, FTK14TS) and gateways based on the ESP2 protocol.

@home-assistant home-assistant bot added the current This PR goes into the current branch label Dec 10, 2024
Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit e7a48b8
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/67b659d4550902000847db0d
😎 Deploy Preview https://deploy-preview-36275--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 Dec 10, 2024

📝 Walkthrough

Walkthrough

The changes involve an update to the documentation for the EnOcean integration within Home Assistant. A new section titled "Unsupported controllers/gateways" has been added, explicitly listing unsupported controllers such as the Eltako FAM14, FGW14-USB, FAM-USB, and FTK14TS, as well as noting gateways based on the ESP2 protocol. The rest of the document remains unchanged, preserving existing information about supported device types, configuration examples, and EnOcean Equipment Profiles (EEPs).

Changes

File Change Summary
source/_integrations/enocean.markdown Added a section on unsupported controllers (Eltako FAM14, FGW14-USB, FAM-USB, FTK14TS) and ESP2 protocol gateways in the EnOcean integration documentation.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Documentation
    participant Integration

    User->>Documentation: Check controller compatibility
    Documentation->>User: Display supported and unsupported controllers
    User->>Integration: Set up EnOcean integration
    Integration->>User: Confirm setup
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

🧹 Outside diff range and nitpick comments (1)
source/_integrations/enocean.markdown (1)

29-29: Improve clarity and link description

The added information about controller compatibility is valuable, but the sentence structure could be clearer. Consider this revision:

-The EnOcean integration adds support for some of these devices. You will need a controller like the [USB300](https://www.enocean.com/product/usb-300/) in order for it to work.  Not all controllers are supported by this integration.  You can compare controllers like FAM14, FGW14, FTS14KS and USB300 at this excellent [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
+The EnOcean integration adds support for some of these devices. You will need a controller like the [USB300](https://www.enocean.com/product/usb-300/) in order for it to work. Note that not all controllers (such as FAM14, FGW14, FTS14KS) are supported by this integration. For a detailed comparison of available controllers, see the [EnOcean Gateway Comparison Guide](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).

Changes made:

  1. Combined related sentences for better flow
  2. Made the list of unsupported controllers parenthetical
  3. Made the link text more descriptive of its content
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 121f122 and 7ba74e4.

📒 Files selected for processing (1)
  • source/_integrations/enocean.markdown (1 hunks)

@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@home-assistant home-assistant bot marked this pull request as draft December 11, 2024 07:49
@lvlerber
Copy link
Author

lvlerber commented Dec 11, 2024 via email

@lvlerber lvlerber marked this pull request as ready for review December 28, 2024 12:23
@home-assistant home-assistant bot requested a review from frenck December 28, 2024 12:23
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 (2)
source/_integrations/enocean.markdown (2)

29-29: Remove trailing space and consider expanding device compatibility information.

The content is accurate, but there's a trailing space at the end of the line that should be removed. Additionally, based on the previous review comment from frenck about the integration quality scale, consider adding a comprehensive list of supported controllers.

-The EnOcean integration adds support for some of these devices. You will need a controller like the [USB300](https://www.enocean.com/product/usb-300/) in order for it to work. 
+The EnOcean integration adds support for some of these devices. You will need a controller like the [USB300](https://www.enocean.com/product/usb-300/) in order for it to work.
🧰 Tools
🪛 Markdownlint (0.37.0)

29-29: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


31-38: Add blank line before list and consider restructuring for clarity.

The content effectively addresses the need to guide users about unsupported controllers. However, the markdown formatting needs improvement, and the section could be structured more clearly.

 ## Unsupported controllers/gateways

 The following gateways are not supported by the integration:
-All gateways that are based on the ESP2 protocol.  You can find an excellent guide to controllers and suitable integrations at this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
-  - Eltako FAM14
-  - Eltako FGW14-USB
-  - Eltako FAM-USB
-  - Eltako FTK14TS
+
+All gateways that are based on the ESP2 protocol are not supported. Common examples include:
+
+- Eltako FAM14
+- Eltako FGW14-USB
+- Eltako FAM-USB
+- Eltako FTK14TS
+
+For alternative solutions and a comprehensive guide to controllers and suitable integrations, see this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).

This restructuring:

  1. Adds required blank lines around lists
  2. Improves readability by separating the ESP2 protocol information
  3. Moves the reference link to a dedicated paragraph
  4. Maintains consistent list formatting
🧰 Tools
🪛 Markdownlint (0.37.0)

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

(MD032, blanks-around-lists)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 7ba74e4 and 00eb3fa.

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

29-29: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


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

(MD032, blanks-around-lists)

## Unsupported controllers/gateways

The following gateways are not supported by the integration:
- All gateways that are based on the ESP2 protocol. You can find an excellent guide to controllers and suitable integrations at this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be sending users to library documentation. If this is relevant for the user reading this page, we should include it here.

../Frenck

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. The relevant information is that a custom integration exists for the eltako gateways and that the gateways are explicitely listed. So I changed accordingly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove that link in that case, as the main comment still remain :D

@home-assistant home-assistant bot marked this pull request as draft February 6, 2025 20:03
@lvlerber lvlerber marked this pull request as ready for review February 7, 2025 16:54
@home-assistant home-assistant bot requested a review from frenck February 7, 2025 16:54
## Unsupported controllers/gateways

The following gateways are not supported by the integration:
- All gateways that are based on the ESP2 protocol. You can find an excellent guide to controllers and suitable integrations at this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove that link in that case, as the main comment still remain :D

@home-assistant home-assistant bot marked this pull request as draft February 19, 2025 20:43
@lvlerber lvlerber marked this pull request as ready for review February 19, 2025 22:29
@home-assistant home-assistant bot requested a review from frenck February 19, 2025 22:29
@lvlerber
Copy link
Author

I'm afraid the previous review was not for the latest version (5e718f6).

@silamon
Copy link
Contributor

silamon commented Mar 1, 2025

I'm afraid the previous review was not for the latest version (5e718f6).

What is going to be merged is https://github.com/home-assistant/home-assistant.io/pull/36275/files
and it still lists the link that was agreed upon to remove or replace.

Comment on lines +33 to +34
The following gateways are not supported by the integration:
- All gateways that are based on the ESP2 protocol. You can find an excellent guide to controllers and suitable integrations at this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following gateways are not supported by the integration:
- All gateways that are based on the ESP2 protocol. You can find an excellent guide to controllers and suitable integrations at this [gateway overview](https://github.com/grimmpp/home-assistant-eltako/blob/main/docs/gateways/readme.md).
Gateways that are based on the ESP2 protocol are not supported by this integration, including the devices listed below. For Eltako gateways, there is a custom integration.

would this be an acceptable alternative?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is acceptable; People looking for homeassistant and FTS14KS (for instance) will know they have to search a custom integration. It would have been nice to have a link, but I understand that this is not possible. Do I have to do something now, or will you take it from here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know. Thank you for your quick feedback! I will wait also for approval from the reviewers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be discussing custom integration in our documentation.

@frenck frenck marked this pull request as draft April 14, 2025 20:13
@lvlerber
Copy link
Author

lvlerber commented Apr 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
current This PR goes into the current branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants