From aa9b2fe90a56a9bf805d90e60932e477ef733b72 Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Mon, 26 May 2025 12:00:07 +0200 Subject: [PATCH] Configuration check: remove Core and Supervised steps (#39233) --- .../common-tasks/configuration_check.md | 52 +------------------ 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/source/_includes/common-tasks/configuration_check.md b/source/_includes/common-tasks/configuration_check.md index 993ef257afa..ccecd87cfdf 100644 --- a/source/_includes/common-tasks/configuration_check.md +++ b/source/_includes/common-tasks/configuration_check.md @@ -1,6 +1,6 @@ ## Configuration check -{% if page.installation == "os" or page.installation == "supervised" %} +{% if page.installation == "os" %} After changing configuration or automation files, check if the configuration is valid before restarting Home Assistant Core. @@ -56,54 +56,4 @@ You can get help from the command line using: docker exec homeassistant python -m homeassistant --script check_config --help ``` -{% elsif page.installation == "core" %} - -After changing configuration files, check if the configuration is valid before restarting Home Assistant Core. - -1. Switch to the user that is running Home Assistant. - - ```bash - sudo -u homeassistant -H -s - ``` - -2. Activate the virtual environment that Home Assistant is running in. - - ```bash - source /srv/homeassistant/bin/activate - ``` - -3. Run the configuration check. - - Run the full check: - - ```bash - hass --script check_config - ``` - - Listing all loaded files: - - ```bash - hass --script check_config --files - ``` - - Viewing a integration’s configuration ([`light`](/integrations/light) in this example): - - ```bash - hass --script check_config --info light - ``` - - Or all integrations’ configuration - - ```bash - hass --script check_config --info all - ``` - - You can get help from the command line using: - - ```bash - hass --script check_config --help - ``` - -4. When that is complete, restart the service for it to use the new files. - {% endif %}