File Size
The filesize
sensor is for displaying the size in MB of a file.
File paths must also be added to allowlist_external_dirs in your configuration.yaml
.
Configuration
Adding File Size to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the sidebar, select Settings.
-
From the configuration menu, select Devices & Services.
-
In the bottom right, select the Add Integration button.
-
From the list, search and select File Size.
-
Follow the instructions on screen to complete the setup.