From 4ecc9384702d44d8ba0b6c0c5739b1d466a6719b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 20 Feb 2023 11:39:50 +0100 Subject: [PATCH] Add homeassistant.reload_all service (#26184) * Add homeassistant.reload_all service * wording * Apply suggestion --- source/_integrations/homeassistant.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_integrations/homeassistant.markdown b/source/_integrations/homeassistant.markdown index eb0d1023a0b..206711d1e10 100644 --- a/source/_integrations/homeassistant.markdown +++ b/source/_integrations/homeassistant.markdown @@ -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.