-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add fan to miele integration #38769
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 fan to miele integration #38769
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe documentation for the Miele integration was reorganized to improve clarity and coverage. The lists of supported platforms and categories were reordered to prioritize "binary_sensor" and now include the newly added "fan" platform and category. The supported functionality section was expanded to mention appliance control settings. The binary sensor entity list was repositioned earlier in the document, and a new section was added to describe fan entities, specifically for cooker hoods and induction hobs. A redundant binary sensor section was removed to avoid duplication. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Documentation
User->>Documentation: Reads supported platforms/categories
Documentation-->>User: Shows binary_sensor, fan, and others (reordered)
User->>Documentation: Looks for supported functionality
Documentation-->>User: Displays use cases including appliance control
User->>Documentation: Seeks entity details
Documentation-->>User: Presents binary sensor section (moved up)
Documentation-->>User: Presents new fan section for cooker hoods/hobs
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. 🪧 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 (2)
source/_integrations/miele.markdown (2)
40-40
: Nitpick: Refine use-case phrasing.
Consider rephrasing
- Control settings on the appliances.
to
- Control appliance settings.
to maintain the verb-first style and improve readability.
129-133
: Optional: Expand fan entity details.
It may be helpful to specify supported speed levels or modes (e.g., numeric speeds, “off”) under the fan details for greater clarity to end users.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(5 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/miele.markdown
[uncategorized] ~102-~102: You might be missing the article “the” here.
Context: ...ll remote control**: Shows the state of Full remote control feature on appliances th...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~106-~106: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...f Smart grid feature on appliances that supports it. {% enddetails %} ### Button {% de...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
🔇 Additional comments (4)
source/_integrations/miele.markdown (4)
5-5
: AddBinary sensor
toha_category
.
This update correctly surfaces thebinary_sensor
category at the top, aligning with the supported platforms list.
9-9
: AddFan
toha_category
.
Introducing thefan
category here matches the newly documented fan platform below.
20-24
: Addbinary_sensor
andfan
toha_platforms
.
These platform entries now mirror theha_category
ordering. Ensure the core integration code includes and activates these platforms.
96-98
: Verify duplicate binary sensor section removal.
You’ve moved the “### Binary sensor” heading up in the document. Please confirm that the old duplicate section later in the file was removed to prevent redundancy.
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.
Thank you, @astrandb 👍
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.
There's a merge conflict, can you take a look?
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
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 (2)
source/_integrations/miele.markdown (2)
40-40
: Refine phrasing of the new use case bullet
The new bullet reads:
- Control settings on the appliances.
For consistency and clarity, consider shortening to something like:- Control appliance settings.
102-106
: Fix grammar and verb agreement in binary sensor descriptions
- Add the definite article “the” before feature names for consistency.
- Change “supports” to “support” to agree with plural “appliances.”
- - **Full remote control**: Shows the state of Full remote control feature on appliances that supports it. + - **Full remote control**: Shows the state of the Full remote control feature on appliances that support it. - - **Smart grid**: Shows the state of Smart grid feature on appliances that supports it. + - **Smart grid**: Shows the state of the Smart grid feature on appliances that support it.🧰 Tools
🪛 LanguageTool
[uncategorized] ~102-~102: You might be missing the article “the” here.
Context: ...ll remote control**: Shows the state of Full remote control feature on appliances th...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~106-~106: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...f Smart grid feature on appliances that supports it. {% enddetails %} ### Button {% de...(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(5 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/miele.markdown
[uncategorized] ~102-~102: You might be missing the article “the” here.
Context: ...ll remote control**: Shows the state of Full remote control feature on appliances th...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~106-~106: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...f Smart grid feature on appliances that supports it. {% enddetails %} ### Button {% de...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
🔇 Additional comments (4)
source/_integrations/miele.markdown (4)
5-5
: Add new categories for Binary sensor and Fan
The additions of theBinary sensor
andFan
categories align with the Miele integration's new capabilities.
Please verify that your core integration'smanifest.json
(andplatforms.yaml
, if applicable) also includes these categories so the docs rendering matches the actual metadata.Also applies to: 9-9
20-20
: Includebinary_sensor
andfan
in supported platforms
Listing these platforms ensures that Home Assistant users can enable and configure the new sensor and fan entities.
Double-check that your core integration code implements thebinary_sensor
andfan
platforms so the docs and functionality stay in sync.Also applies to: 24-24
96-107
: New “Binary sensor” section is well formatted
The header level and use of a details block match the existing pattern for other entity types. The enumeration of binary sensors clearly describes the available features.🧰 Tools
🪛 LanguageTool
[uncategorized] ~102-~102: You might be missing the article “the” here.
Context: ...ll remote control**: Shows the state of Full remote control feature on appliances th...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~106-~106: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...f Smart grid feature on appliances that supports it. {% enddetails %} ### Button {% de...(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
129-135
: Add “Fan” section describing extraction fan control
The new section correctly uses the same header level and details formatting.
Please ensure that the core integration's fan platform implementation is tested and up to date so users can actually control and monitor these fans.
Proposed change
Add text on fan entiy
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit