-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add light platform to miele integration #38585
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
Conversation
It seems that this PR is targeted against an incorrect branch. Documentation updates which apply to our current stable release should target the |
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe Miele integration documentation was updated to reflect support for light entities. The changes include adding "Light" to the list of supported categories and platforms, and introducing a new section describing the types of light entities available (general and ambient lights). These updates complement the existing documentation for sensor entities and clarify the integration's expanded capabilities without modifying any underlying code or logic. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HomeAssistant
participant MieleIntegration
User -> HomeAssistant: Configures Miele integration
HomeAssistant -> MieleIntegration: Loads supported platforms (sensor, light)
MieleIntegration -> HomeAssistant: Registers sensor and light entities
User -> HomeAssistant: Views available entities
HomeAssistant -> User: Displays sensors and lights (including ambient/general lights)
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
🪧 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 (1)
source/_integrations/miele.markdown (1)
97-97
: Remove trailing whitespace
Markdownlint flagged a trailing space on this line (MD009). Removing it will satisfy the rule.-**Ambient light**: Some models of cooker hoods have ambient light that can be turned on and off. +**Ambient light**: Some models of cooker hoods have ambient light that can be turned on and off.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
97-97: Trailing spaces
Expected: 0 or 2; Actual: 1(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_integrations/miele.markdown
97-97: Trailing spaces
Expected: 0 or 2; Actual: 1
(MD009, no-trailing-spaces)
🔇 Additional comments (3)
source/_integrations/miele.markdown (3)
6-6
: AddLight
category
IncludingLight
in theha_category
list ensures the integration metadata accurately reflects support for light entities.
15-15
: Addlight
toha_platforms
Lowercaselight
aligns with Home Assistant’s platform identifiers and matches the newly added category.
92-98
: Document new Light entities
The### Light
section correctly mirrors the existing sensor documentation, detailing both general and ambient light entities. This clearly informs users of the new capabilities without altering existing content.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
97-97: Trailing spaces
Expected: 0 or 2; Actual: 1(MD009, no-trailing-spaces)
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
source/_integrations/miele.markdown (1)
92-98
: Review new Light section formatting
The new Light section mirrors the existing Sensor section structure and clearly describes the available entities.
Minor nit: line 97 has a single trailing space causing a markdownlint MD009 warning. Remove the extra space to avoid trailing whitespace.- - **Ambient light**: Some models of cooker hoods have ambient light that can be turned on and off. + - **Ambient light**: Some models of cooker hoods have ambient light that can be turned on and off.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
97-97: Trailing spaces
Expected: 0 or 2; Actual: 1(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_integrations/miele.markdown
97-97: 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/miele.markdown (2)
6-6
: Include 'Light' in integration categories is correct
The newLight
entry underha_category
aligns with the added light platform and follows Home Assistant documentation conventions.
15-15
: Add 'light' platform entry correctly
Includinglight
underha_platforms
ensures the documentation accurately reflects the supported platform for this integration.
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)
95-99
: Document light entities – Remove trailing space
The details block accurately covers both general and ambient light entities. Please remove the trailing space at the end of line 98 to adhere to Markdown linting (MD009).🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
98-98: Trailing spaces
Expected: 0 or 2; Actual: 1(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/miele.markdown
(3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_integrations/miele.markdown
98-98: 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 (3)
source/_integrations/miele.markdown (3)
6-6
: Add "Light" toha_category
list – Verified
The new category "Light" aligns with existing entries ("Hub", "Sensor") and is correctly sorted.
16-16
: Add "light" toha_platforms
list – Verified
Including the lowercase"light"
alongside"diagnostics"
and"sensor"
maintains consistency and alphabetical order.
93-94
: Introduce "### Light" section header – Consistent
The section heading matches the style and level of the existing "### Sensor" section under Supported functionality.
Proposed change
Add description of light entities.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit