Installing Python site-packages manually in 0.113.0


I am using a custom climate component for a Fujitsu Heat pump which requires an additional Python package pyfujitseu to be installed. The maintainer of the component has included this requirement in the component manifest but unfortunately this isn’t working. He has requested help to fix this here but hasn’t had much luck.

With Home Assistant Supervised it is possible to ssh into the Docker container and use pip to install the package manually.

I am in the process of moving to running Home Assistant OS running in a VM and have found I can no longer do that. Under 0.112.4 I found I was able to manually add the package in deps/lib/python3.7/site-packages, however after upgrading to 0.113.0 the package is no longer recognized.

What is the appropriate method of installing this package?

OK, I just figured out how to get to a root console and access the Docker to install the package remotely.

From the console in Proxmox I was able to login as root and use the login command to get to a root shell. From there I can use:
sudo docker exec -it homeassistant /bin/bash
to get into the home assistant docker container and use:
pip install pyfujitseu
to install the package. This needs to be re-done after any Home Assistant update.

This is probably due to this from the release notes: