I am trying to add an integration to work with a few of my Sonoff smart switches. I have the Home Assistant docker container installed on Ubuntu. It is working. The installation is in
/home/<username>/docker/homeassistant
where <username>
is my username. The configuration.yaml file is in this directory. I have tried putting the custom_components/sonoff
folder in:
/home/<username>/docker/homeassistant
/home/<username>/docker/homeassistant/config
/home/<username>/docker/homeassistant/.homeassistant/
When I add the sonoff: entry to the yaml file and validate it. Home Assistant tells me it can’t find the integration.
Where should the custom_components folder be located? It appears the location is different on different installations of Home Assistant, and for Docker the documentation merely says
<config dir>/custom_components
but doesn’t really say what <config dir>
should be.