File size sensor
Component for displaying the size in MB of a file. Note that paths must be added to whitelist_external_dirs. Add to your config:
sensor:
- platform: filesize
file_paths:
- /config/home-assistant_v2.db
Component for displaying the size in MB of a file. Note that paths must be added to whitelist_external_dirs. Add to your config:
sensor:
- platform: filesize
file_paths:
- /config/home-assistant_v2.db