-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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 docs page for Miele integration #38438
base: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThis change introduces a new integration documentation file for Miele appliances within Home Assistant. The document provides detailed instructions on setting up the integration using the official third-party API. It outlines prerequisites such as signing up for a developer account, obtaining a client ID and secret, and using a lowercase email address for authentication. The file covers various use cases including monitoring appliance sensors, remotely starting programs, adjusting settings, receiving live updates via server-sent events, as well as automation examples and troubleshooting guidelines. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant HA as Home Assistant
participant API as Miele API
U->>HA: Configure Miele Integration with credentials
HA->>API: Authenticate (using client ID, secret, and lowercase email)
API-->>HA: Return access token
HA->>API: Request appliance status and command execution
API-->>HA: Send sensor data and live updates (via server-sent events)
HA->>U: Display appliance data and enable control actions
🪧 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: 0
🧹 Nitpick comments (6)
source/_integrations/miele.markdown (6)
18-18
: Punctuation in Introduction
Consider changing “sensors, switches etc” to “sensors, switches, etc.” to conform with standard American English punctuation.🧰 Tools
🪛 LanguageTool
[style] ~18-~18: In American English, abbreviations like “etc.” require a period.
Context: ...-points in the API to sensors, switches etc in Home Assistant. ## Use cases - Mon...(ETC_PERIOD)
28-30
: Note Block Clarity
Consider revising the sentence in the note to read: “Note that feature availability depends on the appliance model.” This rewording can improve clarity.
38-41
: Prerequisites: Grammar Correction Needed
On line 39, change “Enter an arbitrary name for you connection…” to “Enter an arbitrary name for your connection…” to correct the grammatical error.🧰 Tools
🪛 LanguageTool
[grammar] ~39-~39: Check that the noun ‘connection’ after the pronoun ‘you’ is correct. It’s possible that you may need to switch to a possessive pronoun, or use another part of speech.
Context: ...account. 2. Enter an arbitrary name for you connection and the email of your login for the ori...(PRP_VB)
45-47
: Important Block: Minor Typographical Adjustments
- On line 46, insert a comma after “Miele app” so that it reads: “Even though it works in the Miele app, it may not work with the API.”
- On line 47, update the text to: “Allow a couple of minutes to get the activation email. All changes in the developer portal take a couple of minutes before the change is implemented.”
🧰 Tools
🪛 LanguageTool
[typographical] ~46-~46: Consider inserting a comma for improved readability.
Context: ...s. Even though it works in the Miele app it may not work with the API. - Allow a co...(MISSING_COMMAS)
[grammar] ~47-~47: It seems that an article is missing. Did you mean “the couple of” or “a couple of”?
Context: ...ll changes in the developer portal take couple of minutes before the change is implemente...(BUNCH_OF)
51-61
: Details Block: Verify Extraneous Characters
Review the double quotation mark at the end of line 60. If this is unintentional, consider removing it to maintain formatting consistency.
75-82
: Sensor Details: Clarification Recommended
Under the “Sensor” details (line 81), the phrase “Availability: All the appliances with programs” could be ambiguous. Consider providing a clearer explanation of what is meant by “Availability” in this context.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/miele.markdown
[style] ~18-~18: In American English, abbreviations like “etc.” require a period.
Context: ...-points in the API to sensors, switches etc in Home Assistant. ## Use cases - Mon...
(ETC_PERIOD)
[grammar] ~39-~39: Check that the noun ‘connection’ after the pronoun ‘you’ is correct. It’s possible that you may need to switch to a possessive pronoun, or use another part of speech.
Context: ...account. 2. Enter an arbitrary name for you connection and the email of your login for the ori...
(PRP_VB)
[typographical] ~46-~46: Consider inserting a comma for improved readability.
Context: ...s. Even though it works in the Miele app it may not work with the API. - Allow a co...
(MISSING_COMMAS)
[grammar] ~47-~47: It seems that an article is missing. Did you mean “the couple of” or “a couple of”?
Context: ...ll changes in the developer portal take couple of minutes before the change is implemente...
(BUNCH_OF)
🔇 Additional comments (11)
source/_integrations/miele.markdown (11)
1-16
: Front Matter: Structure and Metadata Are Solid
The YAML header is well-formed and includes all the necessary metadata (title, description, categories, version, etc.) for the Miele integration.
20-27
: Use Cases Section: Clear and Concise
The use cases list is straightforward and covers multiple scenarios that users might encounter.
32-34
: Supported Devices Section: Appropriate Linking
Providing a link to the Miele developer site for supported devices is useful.
63-63
: Config Flow Inclusion: Looks Good
The inclusion of the shared “config_flow.md” content is appropriate and ensures consistency with other integrations.
65-65
: Integration Configuration Guidance
The instruction advising users to refer to “Application Credentials” is clear and helpful.
67-73
: Supported Functionality Section: Clear
The note succinctly explains that entity availability depends on appliance type, which is valuable information for users.
84-110
: Automation Examples: Excellent Inclusion
The YAML configuration for sending a notification is well-formatted and serves as a practical example for users.
111-116
: Data Updates Section: Informative
The explanation of server-sent events and the update process is detailed and ensures users understand how live updates are handled.
117-121
: Known Limitations Section: Adequately Detailed
The known limitations are clearly stated, providing necessary context about the differences between the API and the Miele app.
122-152
: Troubleshooting Section: Comprehensive and User-Friendly
The troubleshooting steps are well-documented, offering users a clear, step-by-step process to resolve issues with entity availability.
153-157
: Removing the Integration: Clear and Consistent
The removal instructions adhere to standard practices, ensuring that users understand no additional steps are required.
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 (1)
source/_integrations/miele.markdown (1)
32-42
: Supported Devices and Prerequisites Clarity with a Minor Link Inconsistency
The "Supported devices" and "Prerequisites" sections offer clear, step-by-step instructions for setting up the integration. However, note that in the first prerequisite, the link’s visible text (https://www.miele.com/developer
) does not match its URL (https://www.miele.com/f/com/en/register_api.aspx
). This mismatch might confuse users. Please verify and adjust the link text or URL for consistency.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
Gemfile.lock
is excluded by!**/*.lock
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(1 hunks)
⏰ 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 (13)
source/_integrations/miele.markdown (13)
1-17
: Front Matter Metadata is Well Structured
The YAML front matter is comprehensive and aligns with Home Assistant’s documentation standards. All required keys (e.g.,title
,ha_category
,ha_release
, etc.) are present and formatted correctly.
18-27
: Clear Introduction and Use Cases Section
The introduction and "Use cases" block clearly explain what the Miele integration offers. The listed use cases effectively outline typical user scenarios. Consider, if applicable, linking directly to any official API documentation for users who need more details.
28-30
: Effective Use of the Note Block
The{% note %}
block succinctly reminds users that feature availability may depend on the appliance model. This concise warning is clear and appropriately highlighted.
43-49
: Important Account Details are Clearly Highlighted
The{% important %}
block effectively emphasizes critical requirements—such as using a lowercase email address and avoiding special characters in the password—to prevent authentication issues. This section is clear and action oriented.
51-59
: Well-Documented Callback Usage Details
The details block regarding the usage of<HOME_ASSISTANT_URL>
when "My Home Assistant" is disabled is clear and instructive. It provides necessary context for users who might need an alternative redirect URI.
64-66
: Consistent Inclusion of Standard Config Flow Instructions
The{% include integrations/config_flow.md %}
directive is correctly used to insert common configuration flow details. This maintains consistency across documentation pages.
66-74
: Concise Explanation of Supported Functionality
The section explaining that the integration configuration will request the Client ID and Client Secret and outlining functionality details is succinct and clear. This helps set proper expectations regarding entity availability based on appliance type and generation.
76-83
: Sensor Details are Clearly Presented
The "Sensor" section, including the details block outlining properties such as "Operation state" and "Availability," is simple and informative. It effectively communicates sensor-related information without unnecessary complexity.
85-109
: Automation Examples Provide Practical Guidance
The "Automation examples" section, complete with a YAML code snippet, is well crafted. The example is clearly formatted and shows a practical use case (sending a notification when a program ends). This will be very helpful for users intending to set up automations.
111-116
: Clear Description of Data Update Mechanism
The "Data updates" section offers a clear explanation of how server-sent events are used to receive live updates, and how the integration behaves during reconnection scenarios. This information is critical for understanding the integration’s real-time data flow.
117-121
: Transparent Communication of Known Limitations
The "Known limitations" section is candid about the constraints of the Miele API and the integration. This transparency is excellent as it sets proper expectations for users regarding available features and potential issues.
122-152
: Thorough Troubleshooting Section with Actionable Steps
The "Troubleshooting" segment is detailed and structured into clear sub-sections (symptoms, description, and solutions). The step-by-step instructions and accompanying links to Miele support resources make it very useful for users encountering issues.
153-158
: Standard and Clear Integration Removal Instructions
The "Removing the integration" section confirms that no extra steps are needed beyond standard removal procedures. This simplicity and adherence to standard practices keeps the documentation user-friendly.
Proposed change
Adds first docs page for the Miele integration.
Brand images are aleady working since they are used by the custom component with same name (and author)..
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
New Features
Documentation