[Solved] Custom_components directory with Hassbian?

Hi

Just (re)installed an HA instance from scratch using Hassbian but I have a problem in initial configuration ! I add a component I found in forum but not sure where custom_components directory should be !
I have created it here: /srv/homeassistant/include/custom/components/sensor and I have in it my file.py but HA complains it can’t find the file when I setup it in configurations.yaml :frowning:

Thanks for help

Vincèn

it should be in /home/homeassistant/.homeassistant/custom_components/sensor/file.py

1 Like

Thanks I didn’t expect to have to put it in config directory but works fine now :wink:

1 Like