mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 19:57:12 +00:00
Add example allowlist_external_dirs in filesize (#39136)
This commit is contained in:
parent
d35ca3f8f0
commit
9b77fa43b0
@ -21,6 +21,20 @@ The **File size** {% term integration %} is for displaying the size in MB of a f
|
||||
|
||||
File paths must also be added to [allowlist_external_dirs](/integrations/homeassistant/#allowlist_external_dirs) in your `configuration.yaml`.
|
||||
|
||||
Example `allowlist_external_dirs` configuration to monitor a file in your configuration folder.
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
|
||||
homeassistant:
|
||||
allowlist_external_dirs:
|
||||
- "/config" # Default configuration directory
|
||||
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
File paths should be absolute paths. For example: `/config/home-assistant_v2.db` to monitor the size of the default database.
|
||||
|
||||
{% endimportant %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user