-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Documentation for Fluss+ Integration into Home Assistant Core #35002
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
base: next
Are you sure you want to change the base?
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HomeAssistant
participant FlussAPI
User->>HomeAssistant: Add Fluss+ integration
HomeAssistant->>User: Request API key
User->>HomeAssistant: Provide API key
HomeAssistant->>FlussAPI: Authenticate with API key
FlussAPI-->>HomeAssistant: Confirmation of authentication
HomeAssistant-->>User: Fluss+ integration added successfully
🪧 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 (
|
❌ Deploy Preview for home-assistant-docs failed.
|
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
🧹 Outside diff range and nitpick comments (3)
source/_integrations/fluss.markdown (3)
8-9
: Fix formatting inha_codeowners
There's an extra space before the GitHub username in the
ha_codeowners
field. Remove the space for consistency with other integrations.Apply this diff to fix the formatting:
ha_codeowners: - -'@fluss' + - '@fluss'
22-32
: Consider adding more details about obtaining the API keyThe configuration instructions are clear, but it might be helpful to provide more information about obtaining the API key. Consider adding a brief explanation or a link to the Fluss+ documentation that explains how to generate or find the API key in the Fluss+ app.
40-43
: Consider adding more examples or options in the YAML configurationThe current YAML example is minimal. Consider adding more examples or mentioning additional configuration options if they exist. This would provide users with a more comprehensive understanding of the integration's capabilities when configuring manually.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- source/_integrations/fluss.markdown (1 hunks)
🔇 Additional comments (3)
source/_integrations/fluss.markdown (3)
6-6
: Verify the release dateThe
ha_release
is set to 2024.5, which is a future date. Please confirm if this is the intended release version for the Fluss+ integration.
20-21
: LGTM: Introduction is clear and conciseThe introduction effectively describes the Fluss+ integration and provides a link to the official website.
1-43
: Overall assessment: Good introduction, minor improvements neededThe documentation provides a clear introduction to the Fluss+ integration and includes both UI and YAML configuration methods. However, there are a few areas that could be improved:
- Verify the release date (2024.5) to ensure it's correct.
- Add more information about obtaining the API key from the Fluss+ app.
- Consider expanding the YAML configuration example with additional options, if available.
- Ensure consistency in formatting and comments throughout the document.
Addressing these points will enhance the clarity and completeness of the documentation for users integrating Fluss+ with Home Assistant.
It seems that this PR is targeted against an incorrect branch. Documentation updates which apply to our current stable release should target the |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
This reverts commit 61de2c5.
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
🧹 Outside diff range and nitpick comments (4)
source/_integrations/fluss.markdown (4)
8-9
: Fix formatting inha_codeowners
fieldThere's an extra single quote in the
ha_codeowners
field. Please remove it for consistency.Apply this diff to fix the formatting:
ha_codeowners: - -'@fluss' + - '@fluss'
24-27
: Minor formatting and spelling improvements
- Fix the indentation of the last bullet point to match the others.
- Update "smart phone" to "smartphone" for consistency with modern usage.
Apply these changes:
- A Fluss+ account -- The Fluss+ app installed on your smart phone. -- During setup of the integration in Home Assistant, you will be prompted to input your API key. - - You can find the API key in your Fluss+ app. +- The Fluss+ app installed on your smartphone. +- During setup of the integration in Home Assistant, you will be prompted to input your API key. + - You can find the API key in your Fluss+ app.🧰 Tools
🪛 LanguageTool
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
29-35
: Remove extra blank lineThe instructions look good, but there's an unnecessary blank line at the end of this section.
Apply this change:
3. Go to **Devices & Services**. 4. Click the **+ Integration** button. 5. Search for **Fluss+**. -
🧰 Tools
🪛 Markdownlint
30-30: null
Lists should be surrounded by blank lines(MD032, blanks-around-lists)
47-47
: Add newline at end of fileFiles should end with a single newline character for better compatibility and adherence to coding standards.
Add a newline character at the end of the file.
🧰 Tools
🪛 Markdownlint
47-47: null
Files should end with a single newline character(MD047, single-trailing-newline)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- source/_integrations/fluss.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/fluss.markdown
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
source/_integrations/fluss.markdown
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
36-36: Expected: 1; Actual: 2
Multiple consecutive blank lines(MD012, no-multiple-blanks)
30-30: null
Lists should be surrounded by blank lines(MD032, blanks-around-lists)
47-47: null
Files should end with a single newline character(MD047, single-trailing-newline)
🔇 Additional comments (1)
source/_integrations/fluss.markdown (1)
20-20
: LGTM: Correct use of integration termThe use of
{% term integration %}
is correct and follows Home Assistant documentation standards.
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (2)
source/_integrations/fluss.markdown (2)
1-18
: LGTM with a minor suggestionThe metadata section looks comprehensive and well-structured. However, there's a small indentation issue that should be fixed.
Please adjust the indentation for the
ha_codeowners
field:ha_codeowners: - -'@fluss' + - '@fluss'
22-27
: LGTM with minor suggestionsThe prerequisites section provides clear information for users setting up the integration. However, there are a couple of small improvements we can make:
- Update "smart phone" to "smartphone" as it's more commonly written as one word:
- The Fluss+ app installed on your smart phone. + The Fluss+ app installed on your smartphone.
- Fix the indentation of the last bullet point to match the others:
- During setup of the integration in Home Assistant, you will be prompted to input your API key. - - You can find the API key in your Fluss+ app. + - You can find the API key in your Fluss+ app.🧰 Tools
🪛 LanguageTool
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- source/_integrations/fluss.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/fluss.markdown
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
source/_integrations/fluss.markdown
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
🔇 Additional comments (3)
source/_integrations/fluss.markdown (3)
20-20
: Use correct term for integrationAs suggested in a previous review, please use the correct term for integration:
The **Fluss+** {% term integrations %} allows you to control [Fluss+](https://fluss.io/) devices through Home Assistant.
29-29
: LGTM: Correct use of config_flow includeThe use of
{% include integrations/config_flow.md %}
is correct and follows best practices for integrations that support UI-based configuration. This ensures consistency across integration documentation and reduces maintenance overhead.
1-29
: Overall assessment: LGTM with minor improvementsThe documentation for the Fluss+ integration is well-structured and provides all necessary information for users. It follows the expected format for Home Assistant integration documentation and correctly uses the config_flow include for UI-based configuration.
The suggested improvements in the previous comments will enhance the quality and consistency of the documentation. Once these minor changes are addressed, the documentation will be in excellent shape for the new Fluss+ integration.
🧰 Tools
🪛 LanguageTool
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (4)
source/_integrations/fluss.markdown (4)
8-9
: Fix indentation forha_codeowners
The indentation for the
ha_codeowners
field is inconsistent with the rest of the metadata.Apply this change:
ha_codeowners: - -'@fluss' + - '@fluss'
20-20
: Use plural form for 'integrations' termFor consistency with Home Assistant documentation standards, use the plural form of 'integrations'.
Apply this change:
-The **Fluss+** {% term integration %} allows you to control [Fluss+](https://fluss.io/) devices through Home Assistant. +The **Fluss+** {% term integrations %} allows you to control [Fluss+](https://fluss.io/) devices through Home Assistant.
25-25
: Update "smart phone" to "smartphone"For modern usage, it's more common to write "smartphone" as one word.
Apply this change:
-The Fluss+ app installed on your smart phone. +The Fluss+ app installed on your smartphone.🧰 Tools
🪛 LanguageTool
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
26-27
: Fix indentation of the last bullet pointThe indentation of the last bullet point is inconsistent with the others.
Apply this change:
- During setup of the integration in Home Assistant, you will be prompted to input your API key. - - You can find the API key in your Fluss+ app. + - You can find the API key in your Fluss+ app.🧰 Tools
🪛 Markdownlint
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- source/_integrations/fluss.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/fluss.markdown
[style] ~25-~25: Nowadays, it’s more common to write this as one word.
Context: ...ount - The Fluss+ app installed on your smart phone. - During setup of the integration in H...(RECOMMENDED_COMPOUNDS)
🪛 Markdownlint
source/_integrations/fluss.markdown
27-27: Expected: 2; Actual: 3
Unordered list indentation(MD007, ul-indent)
🔇 Additional comments (2)
source/_integrations/fluss.markdown (2)
29-29
: Correct use of config_flow templateThe use of the
{% include integrations/config_flow.md %}
template is correct and follows Home Assistant documentation standards. This provides users with the necessary information for setting up the integration through the UI.
6-6
:⚠️ Potential issueUpdate the release version
The
ha_release
field should be updated to match the correct release version.Apply this change:
-ha_release: "2024.11" +ha_release: "2024.11"Please verify if this is the correct release version for the Fluss+ integration.
Likely invalid or redundant comment.
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 (4)
source/_docs/automation/yaml.markdown (4)
6-6
: Consistent Term Formatting Update
The removal of{% term YAML %}
in this sentence now displays “YAML format” directly, which improves consistency. Retaining{% term automation %}
is appropriate since “automation” remains a defined term.
128-128
: Markdown Lint: Remove Extra Blank Line
There are multiple consecutive blank lines at line 128. Reducing them to a single blank line will help meet markdownlint guidelines.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
128-128: Multiple consecutive blank lines
Expected: 1; Actual: 2(MD012, no-multiple-blanks)
226-226
: Punctuation Enhancement Suggestion
Consider adding a comma after “If not specified” so it reads: “If not specified, the default value of 5 will be used.” This minor punctuation adjustment will enhance readability.🧰 Tools
🪛 LanguageTool
[uncategorized] ~226-~226: A comma might be missing here.
Context: ...e for the particular automation. If not specified the default value of 5 will be used. `...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
264-264
: Grammatical Clarification on Deletion Instructions
The sentence “When automations remain visible in the Home Assistant dashboard, even after having deleted in the YAML file, you have to delete them in the UI.” could be slightly refined for clarity. Consider changing “deleted in the YAML file” to “deleted from the YAML file.”
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
source/_data/glossary.yml
(0 hunks)source/_docs/automation/yaml.markdown
(5 hunks)source/_docs/configuration/packages.markdown
(2 hunks)source/_docs/scene.markdown
(1 hunks)
💤 Files with no reviewable changes (1)
- source/_data/glossary.yml
✅ Files skipped from review due to trivial changes (2)
- source/_docs/scene.markdown
- source/_docs/configuration/packages.markdown
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_docs/automation/yaml.markdown
128-128: Multiple consecutive blank lines
Expected: 1; Actual: 2
(MD012, no-multiple-blanks)
🪛 LanguageTool
source/_docs/automation/yaml.markdown
[uncategorized] ~226-~226: A comma might be missing here.
Context: ...e for the particular automation. If not specified the default value of 5 will be used. `...
(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
🔇 Additional comments (3)
source/_docs/automation/yaml.markdown (3)
10-10
: Direct Reference to Configuration File
Updating the sentence to “directly inside {% term "configuration.yaml
" %} or other YAML files” is clear and consistent with the intent to remove special formatting from YAML.
131-131
: Consistent Inline Styling for File References
The usage of{% term "
configuration.yaml" %}
in this example appropriately highlights the configuration file name. This consistent inline styling is appropriate given that the formatting removal applies only to the term “YAML.”
210-210
: Clarity in Advanced Options Description
The revised sentence now clearly explains that writing automations directly in YAML unlocks advanced options unavailable in the UI. This update adheres to documentation clarity standards.
Proposed change
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
Summary by CodeRabbit
New Features
Fluss+
integration for Home Assistant, allowing users to control Fluss+ devices.Documentation Updates