From 04b3b94656bcf605bd8d2fd0381cf065a61cb5c3 Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Fri, 24 May 2024 15:43:01 +0200 Subject: [PATCH] Common tasks: move file access and backup to top (#32930) --- source/_includes/common-tasks/beta_version.md | 2 +- .../common-tasks/configuration_check.md | 4 ++-- .../common-tasks/development_version.md | 2 +- .../common-tasks/specific_version.md | 2 +- source/common-tasks/os.markdown | 17 +++++++++++------ source/common-tasks/supervised.markdown | 19 ++++++++++++------- 6 files changed, 28 insertions(+), 18 deletions(-) diff --git a/source/_includes/common-tasks/beta_version.md b/source/_includes/common-tasks/beta_version.md index f07451b6183..94ecdbff764 100644 --- a/source/_includes/common-tasks/beta_version.md +++ b/source/_includes/common-tasks/beta_version.md @@ -1,4 +1,4 @@ -## Run a beta version +### Running a beta version If you would like to test next release before anyone else, you can install the beta version. diff --git a/source/_includes/common-tasks/configuration_check.md b/source/_includes/common-tasks/configuration_check.md index 4d0fbaa64bf..6341f9ba446 100644 --- a/source/_includes/common-tasks/configuration_check.md +++ b/source/_includes/common-tasks/configuration_check.md @@ -4,7 +4,7 @@ After changing configuration or automation files, check if the configuration is valid before restarting Home Assistant Core. -## To run a configuration check from the UI +### Running a configuration check from the UI 1. Go to {% my profile title="your user profile" %} and enable **Advanced Mode**. 2. Go to {% my server_controls title="**Developer tools** > **YAML**" %} and in the **Configuration validation** section, select the **Check configuration** button. @@ -12,7 +12,7 @@ After changing configuration or automation files, check if the configuration is - It checks for valid YAML and valid config structures. 3. If you need to do a more comprehensive configuration check, [run the check from the CLI](#to-run-a-configuration-check-from-the-cli). -## To run a configuration check from the CLI +### Running a configuration check from the CLI Use the following command to check if the configuration is valid. The command line configuration check validates the YAML files and checks for valid config structures, as well as some other elements. diff --git a/source/_includes/common-tasks/development_version.md b/source/_includes/common-tasks/development_version.md index 4dce67af42e..712bfef200b 100644 --- a/source/_includes/common-tasks/development_version.md +++ b/source/_includes/common-tasks/development_version.md @@ -1,4 +1,4 @@ -## Run a development version +### Running a development version If you want to stay on the bleeding-edge Home Assistant Core development branch, you can upgrade to `dev`. diff --git a/source/_includes/common-tasks/specific_version.md b/source/_includes/common-tasks/specific_version.md index 756776eee8d..7af2f2a1052 100644 --- a/source/_includes/common-tasks/specific_version.md +++ b/source/_includes/common-tasks/specific_version.md @@ -1,4 +1,4 @@ -## Run a specific version +### Running a specific version {% assign current_version = site.current_major_version | append: "." | append: site.current_minor_version | append: "." | append: site.current_patch_version %} diff --git a/source/common-tasks/os.markdown b/source/common-tasks/os.markdown index 03decd8677c..229c107f940 100644 --- a/source/common-tasks/os.markdown +++ b/source/common-tasks/os.markdown @@ -8,6 +8,9 @@ related: --- This section will provide guides to some common tasks and information which you will need in order to run, maintain, and edit your Home Assistant OS system. For further details on any particular subject, make sure to refer to the documentation for specific add-ons or topics listed here. +{% include common-tasks/file_access.md %} +{% include common-tasks/backups.md %} + ## Updating Home Assistant If you have the {% term "Home Assistant Operating System" %} installed, you receive update notifications from different components: @@ -74,14 +77,16 @@ You can manually define that the previous boot slot is used. This can be useful ### Updating Home Assistant Core {% include common-tasks/update.md %} -{% include common-tasks/specific_version.md %} -{% include common-tasks/beta_version.md %} -{% include common-tasks/development_version.md %} -{% include common-tasks/configuration_check.md %} -{% include common-tasks/file_access.md %} -{% include common-tasks/backups.md %} {% include common-tasks/network_storage.md %} {% include common-tasks/commandline.md %} {% include common-tasks/lost_password.md %} {% include common-tasks/third-party-addons.md %} +{% include common-tasks/configuration_check.md %} + +## Home Assistant Versions + +{% include common-tasks/specific_version.md %} +{% include common-tasks/beta_version.md %} +{% include common-tasks/development_version.md %} + {% include common-tasks/data_disk.md %} diff --git a/source/common-tasks/supervised.markdown b/source/common-tasks/supervised.markdown index bd3431d20de..f1032210cd4 100644 --- a/source/common-tasks/supervised.markdown +++ b/source/common-tasks/supervised.markdown @@ -7,16 +7,21 @@ related: - docs: /docs/configuration/ --- + +{% include common-tasks/file_access.md %} +{% include common-tasks/backups.md %} + ## Update {% include common-tasks/update.md %} -{% include common-tasks/specific_version.md %} -{% include common-tasks/beta_version.md %} -{% include common-tasks/development_version.md %} -{% include common-tasks/configuration_check.md %} -{% include common-tasks/file_access.md %} -{% include common-tasks/backups.md %} {% include common-tasks/network_storage.md %} {% include common-tasks/commandline.md %} {% include common-tasks/lost_password.md %} -{% include common-tasks/third-party-addons.md %} \ No newline at end of file +{% include common-tasks/third-party-addons.md %} +{% include common-tasks/configuration_check.md %} + +## Home Assistant Versions + +{% include common-tasks/specific_version.md %} +{% include common-tasks/beta_version.md %} +{% include common-tasks/development_version.md %} \ No newline at end of file