Move all scripts to one location as one page per script (#4554)
This commit is contained in:
parent
556a0b08b4
commit
5b6c51c154
11 changed files with 282 additions and 209 deletions
|
@ -7,47 +7,7 @@ sidebar: true
|
|||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
redirect_from: /docs/tools/
|
||||
---
|
||||
|
||||
The command-line and the frontend which simplify common tasks, are helping with migrations, and ensure that Home Assistant runs properly. Please do not confuse those with Home Assistant's [script](/docs/scripts/) feature.
|
||||
|
||||
### {% linkable_title Configuration check %}
|
||||
|
||||
Test any changes to your `configuration.yaml` file before launching Home Assistant. This script allows you to test changes without the need to restart Home Assistant.
|
||||
|
||||
```bash
|
||||
$ hass --script check_config
|
||||
```
|
||||
|
||||
### {% linkable_title Existence of configuration %}
|
||||
|
||||
This script checks if the `configuration.yaml` file exists. If the file is not available, one is created.
|
||||
|
||||
```bash
|
||||
$ hass --script ensure_config
|
||||
```
|
||||
|
||||
### {% linkable_title Secrets %}
|
||||
|
||||
There is a method to store secrets outside of your `configuration.yaml` file. For further details, please refer to the [Storing Secrets](/docs/configuration/secrets/) documentation.
|
||||
|
||||
```bash
|
||||
$ hass --script keyring
|
||||
```
|
||||
|
||||
### {% linkable_title Benchmark %}
|
||||
|
||||
For testing the performance of Home Assistant the Benchmark script runs until you exit using Control+C.
|
||||
|
||||
Firing and handling of a million events.
|
||||
|
||||
```bash
|
||||
$ hass --script benchmark async_million_events
|
||||
```
|
||||
|
||||
### {% linkable_title Old scripts %}
|
||||
|
||||
Usually those scripts were only used when a massive update happened and was announced in the release notes.
|
||||
|
||||
- `db_migrator`: Migrate an existing SQLite database to the new schema.
|
||||
- `influxdb_migrator`: Convert an old InfluxDB to the new format.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue