Add homeassistant.reload_config_entry service (#16976)

This commit is contained in:
J. Nick Koston 2021-03-19 15:42:43 -05:00 committed by GitHub
parent bd4da14485
commit 5dd8aea9b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,16 @@ 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_config_entry`
Reloads an integration config entry.
| Service data attribute | Description |
|---------------------------|-------------------------------------------------------|
| `entity_id` | List of entity ids used to reference a config entry. |
| `area_id` | List of area ids used to reference a config entry. |
| `device_id` | List of device ids used to reference a config entry. |
### Service `homeassistant.reload_core_config`
Reloads the core configuration under `homeassistant:` and all linked files. Once loaded the new configuration is applied. New `customize:` information will be applied the next time the state of the entity gets updated.