Skip to content

Commit cae7305

Browse files
robmarkcolearsaboo
authored andcommitted
Add info on whitelisting (home-assistant#5197)
Needs to be added as causing issues for users https://community.home-assistant.io/t/0-67-whitelisted-dir-issues/50305/5
1 parent 8fc39cb commit cae7305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/sensor.file.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ha_release: 0.45
1414
---
1515

1616

17-
The `file` sensor platform reads the entries from a plain-text file and shows the found value. Only the last line of the file is used. This is similar to do `$ tail -n 1 sensor.txt` on the command-line.
17+
The `file` sensor platform reads the entries from a plain-text file and shows the found value. Only the last line of the file is used. This is similar to do `$ tail -n 1 sensor.txt` on the command-line. Note that file paths must be added to [whitelist_external_dirs](/docs/configuration/basic/).
1818

1919
To enable the `file` sensor, add the following lines to your `configuration.yaml`:
2020

0 commit comments

Comments
 (0)