mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 01:58:57 +00:00

* Adds file size sensor * Ammend Configuration variables Have amended [as per the docs](https://home-assistant.io/developers/documentation/create_page/#configuration), doesn't look correct in my markdown preview however. * Update sensor.filesize.markdown * ⬆️ Bumped ha_release * Update sensor.filesize.markdown * Update sensor.filesize.markdown
690 B
690 B
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | File size sensor | Component for monitoring the size of a file. | 2018-02-06 14:00 | true | false | true | true | file.png | Sensor | Local Polling | 0.64 |
Component for displaying the size 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
{% configuration %} file_paths: description: The absolute path to the file. required: true type: list of strings {% endconfiguration %}