no matter what folder i choose i get the following error
Failed config
sensor.file:
- Invalid config for [sensor.file]: not a file for dictionary value @ data['file_path']. Got '/share/todays_events.txt'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.file/
- platform: file
file_path: /share/todays_events.txt
name: Todays Events
Successful config (partial)
sensor.file:
- Invalid config for [sensor.file]: not a file for dictionary value @ data['file_path']. Got '/config/test/todays_events.txt'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.file/
- platform: file
file_path: /config/test/todays_events.txt
name: Todays Events
2018-12-08 11:50:03 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.file]: not a file for dictionary value @ data[‘file_path’]. Got ‘local/filed_automations.txt’. (See ?, line ?). Please check the docs
I know this is an old thread. Thank you for the help on the directory part. Also My Acurite station output a csv and I figured out that it is case sensitive. in my case it must be “.CSV” not “.csv”. Maybe that will help someone in the future.