#Integration libraries - HAOS environments?

5 messages · Page 1 of 1 (latest)

rapid salmon
#

Hi all, I'm relatively new to HA and prob still confused about HAOS architecture...I have a hopefully simple question: in which environment am I when I use the web terminal? I thought it would land in the homeassistant docker container within HAOS, but it seems a subset of it.

Background: I am using a custom integration that kinda works but has issues. It uses a python library that I want to debug/fix. In the logs I see it sits in /usr/local/lib/python3.13/site-packages/etc. - which is doesn't exist in the web-terminal. I see all the files I need if I get into the docker container from the command line instead.

Bonus question: should I change some of the files within site-packages will the change get wiped at the next update of HAOS or HA Core/Supervisor/OS? I guess not but I read something on some forum that was unclear.

Thanks!!
A.

remote basin
#

Add-ons run in their own container, separate from HA Core itself. You can disable protection mode and jump into an interactive terminal for HA itself, but, obviously... danger, if you don't know exactly what you're doing.

Likely yes, they would (or at least they may)... it's not a good idea to manually be manipulating things there on your own, you should properly reference the dependency from the manifest.

rapid salmon
#

Oh I see! Thanks NSX I should have got there myself.

Then I need to fork the integration and the library? If so will it be possible to overwrite the existing one keeping the configuration (devices, entities)? It's been quite some work to get it all in the right place and I'd love to avoid doing it again.

Thanks !!!
A.

remote basin
rapid salmon
#

Amazing thanks again!!!