check_config

Test any changes to your configuration.yamlThe configuration.yaml file is the main configuration file for KS Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file before launching KS Assistant. This script allows you to test changes without the need to restart KS Assistant.

hass --script check_config

The script has further options like checking configuration files which are not located in the default directory or showing your secrets for debugging.

$ hass --script check_config -h
usage: hass [-h] [--script {check_config}] [-c CONFIG] [-i [INFO]] [-f] [-s]

Check KS Assistant configuration.

optional arguments:
  -h, --help            show this help message and exit
  --script {check_config}
  -c CONFIG, --config CONFIG
                        Directory that contains the KS Assistant
                        configuration
  -i [INFO], --info [INFO]
                        Show a portion of the config
  -f, --files           Show used configuration files
  -s, --secrets         Show secret information