G Johansson 97bdcc06dd
Filesize abs path with example (#32106)
* Filesize abs path with example

* Tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-04-02 08:36:30 +02:00

684 B

title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_platforms, ha_codeowners, ha_config_flow, ha_integration_type
title description ha_category ha_iot_class ha_release ha_domain ha_platforms ha_codeowners ha_config_flow ha_integration_type
File Size Integration for monitoring the size of a file.
Sensor
Utility
Local Polling 0.64 filesize
sensor
@gjohansson-ST
true integration

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.

File paths should be absolute paths. For example: /config/home-assistant_v2.db to monitor the size of the default database.

{% include integrations/config_flow.md %}