home-assistant.io/source/_docs/tools/scripts.markdown
Florian Klien dd51ad0df5 fixed double 'the' (#3447)
* fixed double 'the'

mostly 's/the the /the /', little style changes where 'is' or 'to' was missing

* removed duplicate words

removed duplicate words like 'to to', 'you you' or 'account account' etc.

a batch of pizza-toasts burnt for this.
2017-09-26 20:30:04 +02:00

1.6 KiB

layout, title, description, release_date, sidebar, comments, sharing, footer
layout title description release_date sidebar comments sharing footer
page Tools Description of tools which helps when using Home Assistant. 2017-02-23 11:00:00 true false true true

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 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.

$ hass --script check_config

{% linkable_title Existance of configuration %}

This script checks if the configuration.yaml file exists. If the file is not available, one is created.

$ 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 documentation.

$ 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.

$ hass --script benchmark async_million_events

{% linkable_title Old scripts %}

Usally those scripts were only used when a massive update happend 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.