-
-
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
Velbus servicerework doc sync #36855
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. |
📝 WalkthroughWalkthroughThe changes involve updating the Velbus integration documentation to introduce a new Changes
Sequence DiagramsequenceDiagram
participant User
participant VelbusIntegration
participant ConfigEntry
User->>VelbusIntegration: Invoke Action (e.g., sync_clock)
VelbusIntegration->>ConfigEntry: Send Command with config_entry
ConfigEntry-->>VelbusIntegration: Process Command
VelbusIntegration-->>User: Return Result
The sequence diagram illustrates the new workflow where actions now require a specific 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
🧹 Nitpick comments (3)
source/_integrations/velbus.markdown (3)
63-64
: LGTM! Consider adding an example.The parameter documentation is clear and follows the standard format. Consider adding a YAML example to demonstrate the usage of
config_entry
, similar to the example provided forset_memo_text
.
108-109
: LGTM! Consider adding an example.The parameter documentation is clear and consistent. Consider adding a YAML example to demonstrate the usage of
config_entry
with and without theaddress
parameter.
Line range hint
63-109
: Overall documentation changes look great!The documentation updates are consistent across all actions, clearly indicating the deprecation of the
interface
parameter and the introduction of the requiredconfig_entry
parameter. The changes successfully sync with the parent PR in the core repository.Consider adding examples for the
sync_clock
andclear_cache
actions to maintain consistency with theset_memo_text
documentation.🧰 Tools
🪛 Markdownlint (0.37.0)
75-75: Expected: 1; Actual: 2
Multiple consecutive blank lines(MD012, no-multiple-blanks)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/velbus.markdown
(4 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 (3)
source/_integrations/velbus.markdown (3)
72-73
: LGTM! Documentation is consistent.The parameter documentation follows the same format as the sync_clock action, maintaining consistency throughout the document.
82-83
: LGTM! Well documented with example.The parameter documentation is clear and consistent. The example provided helps users understand how to use the new
config_entry
parameter.
98-98
: LGTM! Example is clear and helpful.The example demonstrates the correct usage of the
config_entry
parameter with a realistic value.
Proposed change
Sync the documentation for the velbus service rework
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
interface
parameter in Velbus integrationconfig_entry
parameter for Velbus actionsvelbus.sync_clock
,velbus.scan
,velbus.set_memo_text
, andvelbus.clear_cache
actions