-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Explicitly document ESPHome options flow #38622
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
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe documentation for the ESPHome integration was updated to include a new section outlining two optional configuration options. These options allow users to enable the device to perform Home Assistant actions and to subscribe to device logs for viewing within Home Assistant. The documentation specifies that both options are disabled by default and should only be enabled if necessary and the device is trusted. No changes were made to code or exported/public entities. Changes
Sequence Diagram(s)No sequence diagram is generated as the changes are limited to documentation updates. 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/esphome.markdown (2)
103-104
: Add a clear subheading for the Options Flow section
The introductory sentence for the new options is helpful but appears without a header. To match Home Assistant docs style and improve discoverability, insert a subheading (e.g.,### Options
) immediately before line 103.
105-110
: Use a table format and specify defaults for options
Presenting the options in a markdown table will make names, descriptions, and default states more explicit and consistent with other integrations. For example:| Option | Description | Default | | ---------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------- | | Allow Home Assistant actions | When enabled, ESPHome devices can call services or send events. Only enable if you trust the device. | Off | | Subscribe to device logs | When enabled, the device will send logs to Home Assistant and you can view them in the logs panel. | Off |If you prefer to keep the
configuration_basic
directive, at minimum add adefault:
property for each field to reinforce that both are disabled by default.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/esphome.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
thanks |
Proposed change
Explicitly document ESPHome options flow
While all the options are already mentioned, add the summary as well.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit