mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-11 13:38:59 +00:00

* Update hass.markdown add text as per issue #20086 (https://github.com/home-assistant/home-assistant.io/issues/20086). also change bash to text in the markdown to remove the colour highlighting from 'exit', 'file' etc * Update source/_docs/tools/hass.markdown Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update source/_docs/tools/hass.markdown I think all I need to do here is 'Commit suggestion' and then it will happen. I have no authority to disagree with the suggested change! Co-authored-by: Franck Nijhof <frenck@frenck.nl> --------- Co-authored-by: Franck Nijhof <frenck@frenck.nl>
1.6 KiB
1.6 KiB
title, description
title | description |
---|---|
hass | Description of hass. |
The command-line part of Home Assistant is hass
.
This tool is only available to users of the Home Assistant Core installation method. It is started from the command line on the computer running Home Assistant Core (accessed perhaps via SSH).
$ hass -h
usage: hass [-h] [--version] [-c path_to_config_dir] [--safe-mode]
[--debug] [--open-ui] [--skip-pip] [-v] [--log-rotate-days LOG_ROTATE_DAYS]
[--log-file LOG_FILE] [--log-no-color] [--script ...] [--ignore-os-check]
Home Assistant: Observe, Control, Automate.
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-c path_to_config_dir, --config path_to_config_dir
Directory that contains the Home Assistant configuration
--safe-mode Start Home Assistant in safe mode
--debug Start Home Assistant in debug mode
--open-ui Open the webinterface in a browser
--skip-pip Skips pip install of required packages on startup
-v, --verbose Enable verbose logging to file.
--log-rotate-days LOG_ROTATE_DAYS
Enables daily log rotation and keeps up to the specified days
--log-file LOG_FILE Log file to write to. If not set, CONFIG/home-assistant.log is used
--log-no-color Disable color logs
--script ... Run one of the embedded scripts
--ignore-os-check Skips validation of operating system
If restart is requested, exits with code 100