From 46f8f1f936e2561dee4cb351ee86dfa4818bb82a Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Fri, 24 May 2024 08:26:56 +0200 Subject: [PATCH] Run a specific version: Tiny rephrase (#32922) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- source/_includes/common-tasks/specific_version.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/_includes/common-tasks/specific_version.md b/source/_includes/common-tasks/specific_version.md index 5be8aeab77e..756776eee8d 100644 --- a/source/_includes/common-tasks/specific_version.md +++ b/source/_includes/common-tasks/specific_version.md @@ -10,13 +10,15 @@ In the event that a Home Assistant Core version doesn't play well with your hard {% if page.installation == "os" or page.installation == "supervised" %} -You can use the CLI to upgrade to a specific version (`{{current_version}}` in this example), to downgrade your installation you should do a partial restore of a [backup](#backups) instead. +To upgrade to a specific version, you can use the CLI. The example below shows how to upgrade to `{{current_version}}`. ```bash ha core update --version {{current_version}} --backup ``` -_The_ `--backup` _flag here ensures that you have a partial backup of your current setup incase you need to downgrade._ +_The_ `--backup` _flag here ensures that you have a partial backup of your current setup in case you need to downgrade later._ + +To downgrade your installation, do a [partial restore of a backup](/common-tasks/os/#backups) instead. {% elsif page.installation == "container" %} @@ -30,19 +32,19 @@ docker pull {{ site.installation.container }}:{{current_version}} 1. Stop the Home Assistant service. -2. Switch to the user that is running Home Assistant +2. Switch to the user that is running Home Assistant. ```bash sudo -u homeassistant -H -s ``` -3. Activate the virtual environment that Home Assistant is running in +3. Activate the virtual environment that Home Assistant is running in. ```bash source /srv/homeassistant/bin/activate ``` -4. Download and install the version you want +4. Download and install the version you want. ```bash pip3 install homeassistant=={{current_version}}