Using custom_components for a python library (i.e. Requirements)

I’m trying to modify a setting in the abodepy python library (event_controller.py) that is used by the Abode component, but I’m not having any luck with getting Hassio to use the modified file. I’ve tried the following:

  • Placing the event_controller.py file directly in the config/custom_components folder
  • Placing the event_controller.py file in config/custom_components/deps
  • Placing the event_controller.py file in config/custom_components/abodepy

Any idea where this file needs to be located inside the custom_components folder? Is it even possible to use custom_components for a python library file?

I can see the path to the file I’m trying to modify in the HA logs which is:

usr/lib/python3.6/site-packages/abodepy/event_controller.py

Thanks!