How to automatically reload integration on a schedule?

The following service call, to reload an integration, requires that you provide it with the integration’s entry_id.

- service: homeassistant.reload_config_entry
  data: 
    entry_id: ad7f562e4ef537e1bf858335aae4002e

There are several ways to find an integration’s entry_id. One way is to use the config_entry_id filter. As per its documentation, it requires that you supply it with the entity_id of any entity that belongs to the integration.

- service: homeassistant.reload_config_entry
  data: 
    entry_id: "{{ config_entry_id('sensor.whatever') }}"

Have you found the configuration.yaml file? The .storage directory is a hidden sub-directory of the directory containing the configuration.yaml file.

4 Likes