Franck Nijhof ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00

38 lines
819 B
Markdown

---
layout: page
title: "File size Sensor"
description: "Component for monitoring the size of a file."
date: 2018-02-06 14:00
sidebar: true
comments: false
sharing: true
footer: true
logo: file.png
ha_category:
- Utility
ha_iot_class: Local Polling
ha_release: 0.64
redirect_from:
- /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](/docs/configuration/basic/).
## Configuration
To enable the `filesize` sensor, add the following lines to your `configuration.yaml`:
```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 %}