Add homeassistant.reload_all service (#26184)

* Add homeassistant.reload_all service

* wording

* Apply suggestion
This commit is contained in:
Franck Nijhof 2023-02-20 11:39:50 +01:00 committed by GitHub
parent db182d7901
commit 4ecc938470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,17 @@ The `homeassistant` integration provides services for controlling Home Assistant
Reads the configuration files and checks them for correctness, but **does not** load them into Home Assistant. Creates a persistent notification and log entry if errors are found.
### Service `homeassistant.reload_all`
Reload all YAML configuration that can be reloaded without restarting Home Assistant.
It calls the `reload` service on all domains that have it available. Additionally,
it reloads the core configuration (equivalent to calling
`homeassistant.reload_core_config`) and themes (`frontend.reload_themes`).
Prior to reloading, a basic configuration check is performed. If that fails, the reload
will not be performed and will raise an error.
### Service `homeassistant.reload_config_entry`
Reloads an integration config entry.