Adjust the OS/Supervised docs for spesific version (#24234)

This commit is contained in:
Joakim Sørensen 2022-09-26 18:46:39 +02:00 committed by GitHub
parent 446a6baf41
commit 2ed9a602cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 4 deletions

View File

@ -33,9 +33,11 @@ If you would like to test next release before anyone else, you can install the b
3. Update Home Assistant core to the latest beta version
```bash
ha core update
ha core update --backup
```
_The_ `--backup` _flag here ensures that you have a partial backup of your current setup incase you need to downgrade._
{% endtabbed_block %}
{% elsif page.installation == "container" %}

View File

@ -25,9 +25,11 @@ If you want to stay on the bleeding-edge Home Assistant Core development branch,
3. Update Home Assistant core to the latest dev version
```bash
ha core update
ha core update --backup
```
_The_ `--backup` _flag here ensures that you have a partial backup of your current setup incase you need to downgrade._
{% elsif page.installation == "container" %}
```bash

View File

@ -2,14 +2,22 @@
{% assign current_version = site.current_major_version | append: "." | append: site.current_minor_version | append: "." | append: site.current_patch_version %}
{% if page.installation != "os" and page.installation != "supervised" %}
In the event that a Home Assistant Core version doesn't play well with your hardware setup, you can downgrade to a previous release. In this example `{{current_version}}` is used as the target version but you can choose the version you desire to run.
{% endif %}
{% 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.
```bash
ha core update --version {{current_version}}
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._
{% elsif page.installation == "container" %}
```bash

View File

@ -29,9 +29,11 @@ To update Home Assistant Core when you run Home Assistant {{ page.installation_n
content: |
```bash
ha core update
ha core update --backup
```
_The_ `--backup` _flag here ensures that you have a partial backup of your current setup incase you need to downgrade._
{% endtabbed_block %}
{% elsif page.installation == "container" %}