Skip to content

Adding Fluss docs #38801

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

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

Adding Fluss docs #38801

wants to merge 15 commits into from

Conversation

Marcello17
Copy link

@Marcello17 Marcello17 commented Apr 29, 2025

Proposed change

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
    • Added new documentation for the Fluss+ integration, detailing setup instructions, requirements, supported features (button entities), and usage of the fluss.press service in Home Assistant.

@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 Apr 29, 2025
Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit b1c81d7
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/6811de5a7adf9b000881ae75
😎 Deploy Preview https://deploy-preview-38801--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 Apr 29, 2025

📝 Walkthrough

Walkthrough

A new documentation file for the Fluss+ integration has been added to Home Assistant. This documentation outlines the prerequisites, setup steps, and features of the integration, which allows users to control Fluss+ devices through button entities. It specifies the need for a Fluss+ account, app, Wi-Fi-connected devices, and an API key. The document also describes the available service for simulating button presses and provides metadata relevant to the integration.

Changes

File(s) Change Summary
source/_integrations/fluss.markdown Added documentation for the new Fluss+ integration, including setup, button entity support, and service usage.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeAssistant
    participant FlussAPI

    User->>HomeAssistant: Add Fluss+ integration via UI
    HomeAssistant->>User: Prompt for API key
    User->>HomeAssistant: Enter API key
    HomeAssistant->>FlussAPI: Authenticate and fetch devices
    FlussAPI-->>HomeAssistant: Return list of devices
    HomeAssistant->>User: Display button entities for Fluss+ devices

    User->>HomeAssistant: Trigger fluss.press service with entity_id
    HomeAssistant->>FlussAPI: Simulate button press on device
    FlussAPI-->>HomeAssistant: Confirm action
    HomeAssistant-->>User: Service call completes
Loading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @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: 1

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

25-25: Use compound “smartphone” instead of “smart phone.”
Modern English usage writes this as one word.

🧰 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. - Fluss+ device connected to your Wi-F...

(RECOMMENDED_COMPOUNDS)


28-28: Correct nested list indentation under Prerequisites.
The sub-bullet is indented by three spaces instead of two, which may break rendering in some markdown parsers.
Apply:

-   - You can request an API key in the Fluss+ app under your profile settings.
+  - You can request an API key in the Fluss+ app under your profile settings.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

28-28: Unordered list indentation
Expected: 2; Actual: 3

(MD007, ul-indent)


32-32: Ensure headings are surrounded by blank lines.
Add a blank line above ## Setup for better readability and to satisfy markdownlint’s rule on headings.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

32-32: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


39-39: Improve clarity and fix grammar in Button description.

  • Replace “amount of devices” with “number of devices.”
  • Remove duplicate “to.”
  • Add a comma after “e.g.”
    Suggested rewrite:

The buttons represent the number of devices you can trigger via Wi-Fi. For example, if you have 3 devices, you will see 3 buttons.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~39-~39: ‘Amount of’ should usually only be used with uncountable or mass nouns. Consider using “number” if this is not the case.
Context: ... ### Button The buttons represent the amount of devices you have access to to trigge...

(AMOUNTOF_TO_NUMBEROF)


[duplication] ~39-~39: Possible typo: you repeated a word.
Context: ...t the amount of devices you have access to to trigger via Wi-Fi. E.g if you have 3 de...

(ENGLISH_WORD_REPEAT_RULE)


[uncategorized] ~39-~39: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...ou have access to to trigger via Wi-Fi. E.g if you have 3 devices, you will see 3 b...

(E_G)

🪛 markdownlint-cli2 (0.17.2)

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

(MD009, no-trailing-spaces)


41-41: Add missing word for correct grammar.
Change “as long it's connected” to “as long as it’s connected”:

-Each button can be triggered via Wi-Fi as long it's connected to the internet.
+Each button can be triggered via Wi-Fi as long as it’s connected to the internet.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 0c28a70 and ee66390.

📒 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. - Fluss+ device connected to your Wi-F...

(RECOMMENDED_COMPOUNDS)


[uncategorized] ~39-~39: ‘Amount of’ should usually only be used with uncountable or mass nouns. Consider using “number” if this is not the case.
Context: ... ### Button The buttons represent the amount of devices you have access to to trigge...

(AMOUNTOF_TO_NUMBEROF)


[duplication] ~39-~39: Possible typo: you repeated a word.
Context: ...t the amount of devices you have access to to trigger via Wi-Fi. E.g if you have 3 de...

(ENGLISH_WORD_REPEAT_RULE)


[uncategorized] ~39-~39: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...ou have access to to trigger via Wi-Fi. E.g if you have 3 devices, you will see 3 b...

(E_G)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/fluss.markdown

28-28: Unordered list indentation
Expected: 2; Actual: 3

(MD007, ul-indent)


32-32: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


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

(MD009, no-trailing-spaces)

⏰ 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/fluss.markdown (2)

4-7: Verify metadata fields against Home Assistant standards.
Ensure that ha_category, ha_iot_class, and ha_release use the exact values and formatting required by Home Assistant’s documentation conventions (e.g., valid category taxonomy, version string format, and snake_case for IoT class).


49-52: Verify that all service parameters are documented.
Only entity_id is listed for fluss.press. Confirm whether additional options (such as a target for multiple devices or other payload fields) exist and include them in the table if so.

@home-assistant home-assistant bot marked this pull request as draft April 29, 2025 13:32
@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.

Marcello17 and others added 7 commits April 30, 2025 06:46
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
@Marcello17 Marcello17 marked this pull request as ready for review April 30, 2025 04:57
@home-assistant home-assistant bot requested a review from c0ffeeca7 April 30, 2025 04:57
@home-assistant home-assistant bot marked this pull request as draft April 30, 2025 06:30
Marcello17 and others added 2 commits April 30, 2025 08:49
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
@Marcello17 Marcello17 marked this pull request as ready for review April 30, 2025 07:07
@home-assistant home-assistant bot requested a review from c0ffeeca7 April 30, 2025 07:07
@home-assistant home-assistant bot marked this pull request as draft April 30, 2025 08:08
Marcello17 and others added 2 commits April 30, 2025 10:12
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
@Marcello17 Marcello17 marked this pull request as ready for review April 30, 2025 08:16
@home-assistant home-assistant bot requested a review from c0ffeeca7 April 30, 2025 08:16
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Copy link
Contributor

@c0ffeeca7 c0ffeeca7 left a comment

Choose a reason for hiding this comment

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

Thank you, @Marcello17 👍

@c0ffeeca7 c0ffeeca7 added the awaits-parent Awaits the merge of an parent PR label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaits-parent Awaits the merge of an parent PR 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.

2 participants