Failure to override component with custom_components

I am switching to a docker hassio container (PC) form hasbian on a Pi and I am trying to override the AquaLogic component.
My configuration.yaml is located in a folder /config
I made a folder /custom_components/aqualogic inside that folder and added a modified core.py file.
This is not working to override the builtin core.py
On the Pi, I just modified /srv/homeassistant/lib/python3.6/site-packages/aqualogic/core.py and the component worked correctly.

Any idea why I can’t override this with /custom_components??

I also can’t seem to figure out how to find the /site-packages folder in docker?? I’m very new to docker.

I think it should probably be in /config/aqualogic, and you probably need the empty __init__.py file as well.

I added the core.py and __init__.py to /config/custom_components/aqualogic.
No luck 

I will try /config/aqualogic but think it needs to be in /custom_components

thanks for the input

For HA components/integrations, yes. For things that come from pypi.org, my experience is it needs to be next to custom_components, not in it.

You were correct!! Thank you

The file is now in /config/aqualogic/core.py and working

Thanks !!!

1 Like