Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

726 B

title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title description logo ha_category ha_iot_class ha_release redirect_from
File size Sensor Component for monitoring the size of a file. file.png
Utility
Local Polling 0.64
/components/sensor.filesize/

The filesize sensor for displaying the size in MB of a file. Note that paths must be added to whitelist_external_dirs.

Configuration

To enable the filesize sensor, add the following lines to your configuration.yaml:

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 %}