-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Update lamarzocco documentation with connection methods per entity #35985
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe changes in the documentation for the La Marzocco integration with Home Assistant include enhancements to Bluetooth and cloud connectivity features. The documentation specifies automatic discovery of machines when Bluetooth is active and clarifies update intervals for machine states, statistics, and firmware checks. A new option allows users to manually disable Bluetooth communication to prevent timeouts. Visual updates include new icons in the tables, and the troubleshooting section has been refined for clearer guidance on connection issues. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HomeAssistant
participant LaMarzoccoMachine
participant BluetoothIntegration
User->>HomeAssistant: Enable Bluetooth integration
HomeAssistant->>BluetoothIntegration: Discover La Marzocco machines
BluetoothIntegration->>LaMarzoccoMachine: Query for machine state
LaMarzoccoMachine-->>BluetoothIntegration: Return machine state
BluetoothIntegration-->>HomeAssistant: Update machine state
HomeAssistant-->>User: Display updated machine state
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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
🧹 Outside diff range and nitpick comments (1)
source/_integrations/lamarzocco.markdown (1)
95-96
: Remove inconsistent title attribute from iconThe Bluetooth icon for the "Steam boiler" switch includes a
title="test"
attribute that seems to be a testing artifact. This should be removed for consistency with other icons.-| Steam boiler | Allows to enable/disable the steam boiler | all | <iconify-icon inline title="test" icon="material-symbols:bluetooth"></iconify-icon> | +| Steam boiler | Allows to enable/disable the steam boiler | all | <iconify-icon inline icon="material-symbols:bluetooth"></iconify-icon> |
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🔇 Additional comments (1)
source/_integrations/lamarzocco.markdown (1)
93-97
: Verify iconify-icon component support
Please ensure that the <iconify-icon>
component is properly supported in the Home Assistant documentation platform. If not, consider using standard markdown or an alternative icon syntax.
✅ Verification successful
Let me gather more information about the documentation platform's icon support.
Let me check the icon documentation specifically to understand the supported icon formats.
The <iconify-icon>
component is supported and actively used in the documentation
The <iconify-icon>
component is already being used extensively throughout the Home Assistant documentation platform, including:
- The main index page
- Integration documentation
- Footer social media icons
- Documentation feedback sections
- Navigation menus
The usage in the La Marzocco integration documentation is consistent with the existing patterns in the codebase.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check if iconify-icon is used elsewhere in the documentation
rg -l '<iconify-icon' source/_integrations/
Length of output: 86
Script:
#!/bin/bash
# Check for icon usage patterns in documentation
echo "=== Checking common icon patterns ==="
rg -l 'icon:' source/_integrations/
echo -e "\n=== Checking for icon documentation ==="
fd "icon" source/
echo -e "\n=== Checking documentation configuration ==="
cat source/_config.yml || true
Length of output: 6330
Script:
#!/bin/bash
# Check icon documentation content
cat source/_docs/frontend/icons.markdown
# Check if there are any other iconify-icon examples in the codebase
rg -C 3 '<iconify-icon' source/
Length of output: 24240
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
🧹 Outside diff range and nitpick comments (3)
source/_integrations/lamarzocco.markdown (3)
76-76
: Fix typo in table headerThere's a typo in the column header "Controolable".
-| Button name | Description | Available for machines | Controolable through | +| Button name | Description | Available for machines | Controllable through |
78-78
: Remove trailing spaces in table rowsThere are trailing spaces in some table rows that should be removed to maintain consistent formatting.
Also applies to: 124-124
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
80-80
: Remove extra blank linesMultiple consecutive blank lines should be reduced to a single blank line to maintain consistent spacing between sections.
Also applies to: 94-94
🧰 Tools
🪛 Markdownlint (0.35.0)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines(MD012, no-multiple-blanks)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
source/_integrations/lamarzocco.markdown
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
🔇 Additional comments (2)
source/_integrations/lamarzocco.markdown (2)
70-73
: LGTM: Clear icon definitions for connection methods
The icon definitions are well-structured and follow the correct syntax as discussed in previous reviews.
Line range hint 1-200
: Documentation is comprehensive and well-structured
The documentation effectively covers all aspects of the La Marzocco integration, with clear explanations of:
- Connection methods per entity
- Device compatibility
- Configuration options
- Known limitations and troubleshooting steps
The use of icons to indicate connection methods makes it easy for users to understand how each entity can be controlled or monitored.
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
68-68: null
Multiple top-level headings in the same document
(MD025, single-title, single-h1)
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/lamarzocco.markdown (2)
76-78
: Fix table formattingRemove trailing spaces and ensure consistent table formatting.
-| Button name | Description | Available for machines | Controolable through | +| Button name | Description | Available for machines | Controllable through |Also note the typo in "Controolable" which should be "Controllable".
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
123-126
: Fix table formattingRemove trailing spaces in the table header row.
-|-------------|-------------| ---------------------- |---------------- | +|-------------|-------------| ---------------------- |----------------|🧰 Tools
🪛 Markdownlint (0.35.0)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
source/_integrations/lamarzocco.markdown
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
🔇 Additional comments (2)
source/_integrations/lamarzocco.markdown (2)
99-101
: Update icon syntax as per previous review
As suggested in the previous review, update the icon syntax to match the recommended format.
-| Main | Allows to turn machines on-/off | `all` | {% icon "material-symbols:cloud-outline" %} {% icon "material-symbols:bluetooth" %} |
+| Main | Allows to turn machines on-/off | `all` | {% icon "material-symbols:cloud" %} {% icon "material-symbols:bluetooth" %} |
Line range hint 1-144
: Overall documentation improvements look good!
The documentation successfully achieves its objectives:
- Connection methods are clearly documented per entity
- Model names use proper backtick formatting
- Tables are well-structured and informative
The remaining issues are minor formatting fixes that have been highlighted in the specific comments above.
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
68-68: null
Multiple top-level headings in the same document
(MD025, single-title, single-h1)
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/lamarzocco.markdown (2)
76-78
: Fix table formatting and trailing spacesThe tables have inconsistent formatting and trailing spaces. Also ensure consistent column headers across similar tables.
- Remove trailing spaces after pipe characters
- Align column headers consistently across tables
- Use consistent capitalization in column headers (e.g., "Controllable through" vs "Retrievable from")
Also applies to: 97-101, 105-109, 113-119, 123-126, 130-134
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
78-78
: Fix markdown formatting issuesThe markdown linter identified several formatting issues:
- Trailing spaces on lines 78 and 124
- Multiple consecutive blank lines around lines 80 and 94
Please remove the trailing spaces and ensure only single blank lines between sections.
Also applies to: 124-124, 80-80, 94-94
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
source/_integrations/lamarzocco.markdown
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
🔇 Additional comments (3)
source/_integrations/lamarzocco.markdown (3)
140-144
: LGTM! Consistent use of backticks for model names
The supported devices list is well-formatted with consistent use of backticks for model names.
Line range hint 1-144
: Documentation improvements look great!
The changes effectively document the connection methods per entity and improve readability through consistent use of backticks for model names. The tables clearly show which features are available through cloud, Bluetooth, or local network connections.
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
68-68: null
Multiple top-level headings in the same document
(MD025, single-title, single-h1)
70-73
: 🛠️ Refactor suggestion
Update icon syntax for consistency
Based on previous discussions, the icon syntax should be updated to include the material-symbols prefix consistently.
Apply this change:
-{% icon "material-symbols:cloud-outline" %}
+{% icon "material-symbols:cloud" %}
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
🧹 Outside diff range and nitpick comments (2)
source/_integrations/lamarzocco.markdown (2)
78-78
: Fix trailing spaces in tablesRemove trailing spaces at the end of these lines for consistent formatting.
Also applies to: 124-124
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
80-80
: Fix multiple consecutive blank linesRemove extra blank lines to maintain consistent spacing throughout the document.
Also applies to: 94-94
🧰 Tools
🪛 Markdownlint (0.35.0)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines(MD012, no-multiple-blanks)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
source/_integrations/lamarzocco.markdown
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
🔇 Additional comments (2)
source/_integrations/lamarzocco.markdown (2)
70-73
: LGTM: Icon definitions are clear and approved.
The mixed use of icon syntaxes was previously discussed and approved, with the HTML syntax for Bluetooth being an intentional exception due to linting requirements.
76-134
: Excellent documentation of connection methods per entity
The tables provide clear and comprehensive documentation of:
- Available entities and their descriptions
- Supported connection methods (Cloud/Bluetooth/Local network)
- Machine compatibility
- Additional remarks where relevant
This aligns perfectly with the PR objective of documenting connection methods per entity.
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
{% icon "material-symbols:cloud-outline" %} = La Marzocco Cloud | ||
<iconify-icon inline title="Bluetooth" icon="material-symbols:bluetooth"></iconify-icon> = Bluetooth | ||
{% icon "material-symbols:wifi" %} = Local network |
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.
Maybe show this as a list?
I like that you use icons to make it clear to users what is supported ❤️
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.
I thought about that, but didn't want to use too much estate for the legend. I think it's pretty neat as well, just waiting for another PR, so the icons have proper titles e.g. for screen readers.
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/lamarzocco.markdown (2)
78-78
: Remove trailing spacesThere are trailing spaces at the end of these lines that should be removed.
-| **Start backflush** | Starts the backflush process on your machine. You got 15 seconds to turn the paddle after activation. | `all` | {% icon "material-symbols:cloud-outline" title="La Marzocco Cloud" %} | +| **Start backflush** | Starts the backflush process on your machine. You got 15 seconds to turn the paddle after activation. | `all` | {% icon "material-symbols:cloud-outline" title="La Marzocco Cloud" %} | -|-------------|-------------| ---------------------- |---------------- | +|-------------|-------------| ---------------------- |---------------- |Also applies to: 124-124
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces(MD009, no-trailing-spaces)
80-80
: Standardize section spacingRemove extra blank lines between sections to maintain consistent spacing throughout the document.
- - +Also applies to: 94-94
🧰 Tools
🪛 Markdownlint (0.35.0)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines(MD012, no-multiple-blanks)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
source/_integrations/lamarzocco.markdown
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
source/_integrations/lamarzocco.markdown
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
🔇 Additional comments (2)
source/_integrations/lamarzocco.markdown (2)
70-73
: LGTM! Icon legend is clear and accessible
The icon legend effectively communicates the different connection methods while maintaining accessibility through proper titles. The different syntax for Bluetooth was intentionally chosen to address linting requirements.
76-134
: LGTM! Comprehensive documentation of connection methods
The documentation effectively achieves its goal of documenting connection methods per entity. The tables are well-structured, providing clear information about which connection methods (Cloud/Bluetooth/Local) are available for each entity type. The use of icons with proper accessibility titles makes the information easily scannable while remaining accessible.
🧰 Tools
🪛 Markdownlint (0.35.0)
78-78: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
124-124: Expected: 0 or 2; Actual: 1
Trailing spaces
(MD009, no-trailing-spaces)
80-80: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
94-94: Expected: 1; Actual: 2
Multiple consecutive blank lines
(MD012, no-multiple-blanks)
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.
Thanks, @zweckj 👍
../Frenck
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
Documentation