From 9b77fa43b05986577845cb562fc00117e53bade8 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sun, 25 May 2025 19:20:26 +0200 Subject: [PATCH] Add example allowlist_external_dirs in filesize (#39136) --- source/_integrations/filesize.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/_integrations/filesize.markdown b/source/_integrations/filesize.markdown index b1724722927..367d6bbc022 100644 --- a/source/_integrations/filesize.markdown +++ b/source/_integrations/filesize.markdown @@ -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 %}