Skip to content

Update and tweak add-on docs #2754

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

Merged
merged 3 commits into from
Aug 19, 2025
Merged

Conversation

salim-b
Copy link
Contributor

@salim-b salim-b commented Aug 16, 2025

Proposed change

Update docs to access supervisor logs plus some small formatting tweaks.

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features for which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Remove stale or deprecated documentation

Checklist

  • I have read and followed the documentation guidelines.
  • I have verified that my changes render correctly in the documentation.

Summary by CodeRabbit

  • Documentation
    • Updated add-on tutorial for clarity and consistency.
    • Corrected capitalization of "Add-on store."
    • Improved troubleshooting guidance: added keyboard shortcut markup and updated navigation to Settings → System → Logs with a direct link to Supervisor logs; added guidance to re-check for updates after fixing errors.
    • Clarified references to the options and schema keys using inline code formatting.
    • Applied minor typographic and formatting improvements.

Copy link
Contributor

coderabbitai bot commented Aug 16, 2025

📝 Walkthrough

Walkthrough

Documentation updates in docs/add-ons/tutorial.md adjust capitalization, keyboard markup, navigation instructions to logs, and inline code formatting for keys and examples.

Changes

Cohort / File(s) Summary of Changes
Docs: tutorial wording, navigation, and formatting
docs/add-ons/tutorial.md
Capitalized “Add-on store”; updated troubleshooting to use Ctrl + F5 and added Cmd + Shift + R for macOS; revised navigation to Settings → System → Logs with a redirect to Supervisor logs; applied inline code formatting to options/schema and minor typographic fixes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 24bac08 and 2dd7ee0.

📒 Files selected for processing (1)
  • docs/add-ons/tutorial.md (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/add-ons/tutorial.md
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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)
docs/add-ons/tutorial.md (3)

83-83: Use the exact UI label and hyphenate "bottom-right".

The button label in the UI is "Add-on Store" (capital S). Also, compound modifiers should be hyphenated.

Apply this diff:

- - Click "Add-on store" in the bottom right corner.
+ - Click "Add-on Store" in the bottom-right corner.

104-104: Tighten wording, add macOS hard-refresh shortcut, capitalize Supervisor, and use HTTPS for yamllint.

Improves clarity and cross-platform guidance, aligns capitalization, and switches to HTTPS.

Apply this diff:

-When this happens, try refreshing your browser's cache first by pressing <kbd>Ctrl</kbd> + <kbd>F5</kbd>. If that didn't help, it means that your `config.yaml` is invalid. It's either [invalid YAML](http://www.yamllint.com/) or one of the specified options is incorrect. To see what went wrong, go to ["Settings" → "System" → "Logs" and select "Supervisor" in the top-right drop-down menu](https://my.home-assistant.io/redirect/logs/?provider=supervisor). This should bring you to a page with the logs of the supervisor. Scroll to the bottom and you should be able to find the validation error.
+When this happens, try refreshing your browser's cache by pressing <kbd>Ctrl</kbd> + <kbd>F5</kbd> (Windows/Linux) or <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> (macOS). If that doesn't help, your `config.yaml` is invalid. It's either [invalid YAML](https://www.yamllint.com/) or one of the specified options is incorrect. To see what went wrong, go to ["Settings" → "System" → "Logs", then select "Supervisor" in the top-right drop-down menu](https://my.home-assistant.io/redirect/logs/?provider=supervisor). This opens the Supervisor logs page. Scroll to the bottom to find the validation error.

179-179: Minor phrasing improvement for readability.

Prefer “one file” in prose and a slightly smoother sentence.

Apply this diff:

-In the screenshot you've probably seen that our server only served up 1 file: `options.json`. This file contains the user configuration for this add-on. Because we specified two empty objects for the `options` and `schema` keys in our `config.yaml`, the resulting file is currently empty.
+In the screenshot, you've probably seen that our server served only one file: `options.json`. This file contains the user configuration for this add-on. Because we specified two empty objects for the `options` and `schema` keys in our `config.yaml`, the resulting file is currently empty.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between dba3aea and 79d4da6.

📒 Files selected for processing (1)
  • docs/add-ons/tutorial.md (3 hunks)

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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)
docs/add-ons/tutorial.md (2)

83-83: Hyphenate “bottom-right”; confirm UI label capitalization

Minor grammar: use “bottom-right.” Also, please verify whether the UI label reads “Add-on store” or “Add-on Store” in the current HA UI to keep terminology consistent.

Proposed tweak:

- - Click "Add-on store" in the bottom right corner.
+ - Click "Add-on store" in the bottom-right corner.

104-104: Add macOS hard-reload keys and capitalize “Supervisor”

Nice improvement with keyboard markup and direct logs link. Suggest adding the macOS shortcut and capitalizing “Supervisor” as a proper noun.

Proposed edit:

-When this happens, try refreshing your browser's cache first by pressing <kbd>Ctrl</kbd> + <kbd>F5</kbd>. If that didn't help, it means that your `config.yaml` is invalid. It's either [invalid YAML](http://www.yamllint.com/) or one of the specified options is incorrect. To see what went wrong, go to ["Settings" → "System" → "Logs" and select "Supervisor" in the top-right drop-down menu](https://my.home-assistant.io/redirect/logs/?provider=supervisor). This should bring you to a page with the logs of the supervisor. Scroll to the bottom and you should be able to find the validation error.
+When this happens, try refreshing your browser's cache first by pressing <kbd>Ctrl</kbd> + <kbd>F5</kbd> (Windows/Linux) or <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> (macOS). If that doesn't help, it means that your `config.yaml` is invalid—it's either [invalid YAML](http://www.yamllint.com/) or one of the specified options is incorrect. To see what went wrong, go to ["Settings" → "System" → "Logs" and select "Supervisor" in the top-right dropdown menu](https://my.home-assistant.io/redirect/logs/?provider=supervisor). This should bring you to a page with the logs of the Supervisor. Scroll to the bottom and you should be able to find the validation error.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 79d4da6 and 24bac08.

📒 Files selected for processing (1)
  • docs/add-ons/tutorial.md (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Redirect rules - developers-home-assistant
  • GitHub Check: Header rules - developers-home-assistant
  • GitHub Check: Pages changed - developers-home-assistant
🔇 Additional comments (1)
docs/add-ons/tutorial.md (1)

179-179: Good call on code-formatting keys for clarity

Using backticks for the options/schema keys improves readability and consistency with config snippets.

Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MartinHjelmare MartinHjelmare changed the title Update and tweak docs Update and tweak add-on docs Aug 19, 2025
@MartinHjelmare MartinHjelmare merged commit ce69203 into home-assistant:master Aug 19, 2025
5 checks passed
@salim-b salim-b deleted the patch-1 branch August 19, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants