I’ve installed homeassistant via HAOS, and I’m wondering how I can get direct access to the virtualenv, in order to manually change an installed python library to a different version. Is this even possible in HAOS? I have the ssh add-on installed, but I’m not seeing an obvious way to get down to the venv.
I am also interested in this for the purpose of installing a node.js custom module (tuyapi).
Going to answer my own question here.
The answer is, you have to use the terminal/ssh add-on, not the other one, and then this one allows you to access the docker images. I think the “apprroved” one has a bunch of safety blocks on it to prevent you from getting at the good bits.
Then I just used docker exec -id bash
Please note that your changes will be overwritten every time you update Home Assistant (container rebuild). So prepare yourself to execute the commands again on the next update.