Skip to content

Commit

Permalink
Add information on config check during restart (home-assistant#14322)
Browse files Browse the repository at this point in the history
The `homeassistant.restart` service also does a config check and creates a persistent notification on failure instead of restarting. Added those details to the service description.
  • Loading branch information
mdegat01 authored and saury committed Aug 31, 2020
1 parent 580ab2a commit 74fdcbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/_integrations/homeassistant.markdown
Expand Up @@ -24,7 +24,9 @@ Loads the main configuration file (`configuration.yaml`) and all linked files. O

### Service `homeassistant.restart`

Restarts the Home Assistant instance (also reloading the configuration on start).
Restarts the Home Assistant instance (also reloading the configuration on start).

This will also do a configuration check before doing a restart. If the configuration check fails then Home Assistant will not be restarted, instead a persistent notification with the ID `persistent_notification.homeassistant_check_config` will be created. The logs will show details on what failed the configuration check.

### Service `homeassistant.stop`

Expand Down

0 comments on commit 74fdcbd

Please sign in to comment.