Piotr Żuralski 6cbcc1acdc fixing ha_category components annotation (#9432)
* fixing ha_category components annotation

Signed-off-by: Piotr Żuralski <piotr.zuralski@gmail.com>

* ✏️ Tweak
2019-05-11 09:46:28 +02:00

840 B

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release, redirect_from
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release redirect_from
page File size Sensor Component for monitoring the size of a file. 2018-02-06 14:00 true false true true 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.

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