Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update steps on updating to reflect the current software #39267

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
Jun 10, 2025

Conversation

c0ffeeca7
Copy link
Contributor

@c0ffeeca7 c0ffeeca7 commented May 27, 2025

Proposed change

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

  • Documentation
    • Improved clarity and organization of update instructions with new section headers and restructured content.
    • Expanded and clarified steps for updating Home Assistant OS, including enhanced backup guidance and troubleshooting tips for update notifications.
    • Added detailed post-update recommendations to check for repair issues and logs.
    • Introduced an "Advanced" section explaining boot slots and manual switching procedures for advanced users.

@home-assistant home-assistant bot added the current This PR goes into the current branch label May 27, 2025
Copy link

netlify bot commented May 27, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 67a7e1f
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/6847e91b9a6b080008776e7a
😎 Deploy Preview https://deploy-preview-39267--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

coderabbitai bot commented May 27, 2025

📝 Walkthrough

Walkthrough

The documentation for updating Home Assistant Core and Home Assistant Operating System was reorganized and clarified. New section headers, expanded step-by-step instructions, and troubleshooting guidance were added. Backup procedures and post-update checks were emphasized, and an advanced section on OS boot slots was introduced. No code or public API changes occurred.

Changes

File(s) Change Summary
source/_includes/common-tasks/update.md Added section headers, clarified update steps, expanded UI update instructions, and emphasized post-update checks.
source/common-tasks/os.markdown Clarified update procedures, improved instructions, expanded backup and troubleshooting steps, and added an advanced section on OS boot slots.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant UI
    participant System

    User->>UI: Open update notification
    UI->>User: Display update options
    User->>UI: (Optional) Enable backup toggle
    User->>UI: Initiate update
    UI->>System: Perform update
    System-->>UI: Update complete
    UI->>User: Prompt to check repair issues and logs
Loading
sequenceDiagram
    participant User
    participant UI
    participant System

    User->>UI: Cannot see update notification
    UI->>User: Suggest manual check for updates
    User->>UI: Open settings (cogwheel)
    UI->>User: Make update notification visible
    User->>UI: Proceed with update as above
Loading

📜 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

📥 Commits

Reviewing files that changed from the base of the PR and between fdd1877 and 67a7e1f.

📒 Files selected for processing (1)
  • source/_includes/common-tasks/update.md (3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
source/_includes/common-tasks/update.md

1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)

🪛 LanguageTool
source/_includes/common-tasks/update.md

[grammar] ~27-~27: The word “backup” is a noun. The verb is spelled with a space.
Context: ...want to update. 5. If you want to backup the system first (recommended), enable ...

(NOUN_VERB_CONFUSION)

🔇 Additional comments (4)
source/_includes/common-tasks/update.md (4)

1-6: Add clear prerequisites section
Introduces a focused prerequisites section that highlights essential backup and compatibility checks before updating.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)


7-7: Restructure: update section header
Adding "To update Home Assistant Core" clarifies the following instructions for Core updates.


26-26: Clarify UI step: open update notification
Step 4 explicitly directs the user to open the specific update notification, improving discoverability.


28-28: Explicit instruction to perform the update
Step 6 clearly states "Select Update," which is essential after toggling backup.


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.
    • Explain this complex logic.
    • 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. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • 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 src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

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

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

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

Documentation and Community

  • 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 (4)
source/_includes/common-tasks/update.md (2)

26-29: Duplicate post-update step inside UI tab
Step 7 in the UI tab (“Check for repair issues…”) is duplicated by the universal reminder below. To reduce confusion, remove this inline step and rely on the global notice.

Proposed diff:

@@ UI tab content (lines 26-29)
-      7. Check if there are any repair issues and check the logs to see if there are any issues with your configuration that need to be addressed.

67-67: Keep universal post-update reminder only
The standalone “After the update, check if there are any repair issues…” notice covers both UI and CLI flows. Recommend deleting the inline UI step and keeping only this global reminder.

source/common-tasks/os.markdown (2)

44-47: Use verb form “Back up” for consistency
The imperative should be “Back up your installation” (verb), not the noun “Backup.”

Suggested diff:

@@ prerequisites for OS update
- - [Backup your installation](/common-tasks/general/#backups).
+ - [Back up your installation](/common-tasks/general/#backups).
🧰 Tools
🪛 LanguageTool

[grammar] ~44-~44: The word ‘Backup’ is a noun. Do you mean the verb “Back up”?
Context: ...ard-compatible. #### Prerequisites - [Backup your installation](/common-tasks/genera...

(SENT_START_BACKUP)


[style] ~45-~45: This phrase is redundant. Consider using “outside”.
Context: ...sks/general/#defining-backup-locations) outside of the device where Home Assistant is inst...

(OUTSIDE_OF)


79-104: Nitpick: fix pluralization in Advanced section
The sentence reads “if the Operating Systems runs...” – change to singular “Operating System runs.”

Example diff:

@@ About boot slots (Advanced section)
- Alternatively, if the Operating Systems runs on a platform that uses the GRUB bootloader, a boot menu is presented early in the boot.
+ Alternatively, if the Operating System runs on a platform that uses the GRUB bootloader, a boot menu is presented early in the boot.
🧰 Tools
🪛 LanguageTool

[typographical] ~83-~83: The conjunction “so that” does not have a comma in front.
Context: ...utomatically uses the previous boot slot, so that it boots from the last working operatin...

(SO_THAT_UNNECESSARY_COMMA)


[uncategorized] ~87-~87: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...e useful in cases where the system boots but something still seems wrong. For exampl...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~87-~87: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...e device is no longer correctly detected or you see another issue that might be rel...

(COMMA_COMPOUND_SENTENCE)

📜 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

📥 Commits

Reviewing files that changed from the base of the PR and between 77def4b and fdd1877.

📒 Files selected for processing (2)
  • source/_includes/common-tasks/update.md (3 hunks)
  • source/common-tasks/os.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/common-tasks/os.markdown

[grammar] ~44-~44: The word ‘Backup’ is a noun. Do you mean the verb “Back up”?
Context: ...ard-compatible. #### Prerequisites - [Backup your installation](/common-tasks/genera...

(SENT_START_BACKUP)


[style] ~45-~45: This phrase is redundant. Consider using “outside”.
Context: ...sks/general/#defining-backup-locations) outside of the device where Home Assistant is inst...

(OUTSIDE_OF)


[uncategorized] ~59-~59: Consider adding a hyphen.
Context: ...ee that notification: - In the top right corner, select the three dots {% icon "...

(TOP_LEFT_CORNER)

🪛 markdownlint-cli2 (0.17.2)
source/common-tasks/os.markdown

67-67: Trailing spaces
Expected: 0 or 2; Actual: 3

(MD009, no-trailing-spaces)

source/_includes/common-tasks/update.md

1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)

🔇 Additional comments (4)
source/_includes/common-tasks/update.md (2)

1-6: Clear Prerequisites section added
The new “#### Prerequisites” block clearly outlines backup and release-note checks before updating Core. Links and numbering look correct.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)


7-7: Added Core update header
Introducing “#### To update Home Assistant Core” improves navigation and mirrors the pattern in OS docs.

source/common-tasks/os.markdown (2)

34-37: Add-ons noted as separate update component
Including {% term "Add-ons" %}, if you have any installed and clarifying that each component is updated separately is accurate and in line with Core docs.


58-62: UI troubleshooting instructions align with Core update
The added troubleshooting bullets match the Core update include (common-tasks/update.md) and improve discoverability when notifications don’t appear.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~59-~59: Consider adding a hyphen.
Context: ...ee that notification: - In the top right corner, select the three dots {% icon "...

(TOP_LEFT_CORNER)

@home-assistant home-assistant bot marked this pull request as draft June 10, 2025 08:08
@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@c0ffeeca7 c0ffeeca7 marked this pull request as ready for review June 10, 2025 08:13
Copy link
Member

@agners agners left a comment

Choose a reason for hiding this comment

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

LGTM!

@c0ffeeca7 c0ffeeca7 merged commit ac656a7 into current Jun 10, 2025
9 checks passed
@c0ffeeca7 c0ffeeca7 deleted the update-steps-on-updating branch June 10, 2025 08:55
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
current This PR goes into the current branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants