How do I get Home Assistant to update dependencies

Hi Folks,

I am adding a new feature to Thermia Heatpump integration. I have been trying to test myself on my own HomeAssistant setup and having a frustrating time of it. I am using the KVM/Proxmox HomeAssistant image, which may be the source of the problem.

To test, I have my own version of ha-thermia-heat-pump-integration on github, whose manifest.json and requirements.txt point to my own version of python-thermia-online-api also on github.

I am using the manual installation method documented in the README, which installs my own version of the integration to config/custom_components perfectly.

The problem is that no matter what I try HomeAssistant will not install my github version of python-thermia-online-api, when I reinstall ha-thermia-heat-pump-integration. I have confirmed this by checking through the docker console.

âžś  ~ docker exec -it homeassistant sh
/config # grep REG_OPER_TIME_HOT_WATER /usr/local/lib/python3.12/site-packages/ThermiaOnlineAPI/const.py 
REG_OPER_TIME_HOT_WATER = "REG_OPER_TIME_HOT_WATER"
/config # grep REG_OPER_TIME_HEATING /usr/local/lib/python3.12/site-packages/ThermiaOnlineAPI/const.py 
<new CONST is missing>
/config # 

Any ideas how I can force home assistant to redownload and reinstall the dependencies described by my version of ha-thermia-heat-pump-integration?

Maybe try ThermiaOnlineAPI @ git+https://github.com/mdr78/python-thermia-online-api.git@main?

1 Like

Worth a try, but result was the same. :frowning_face:

What is shown in the HA Logs? Is there any related error listed? If yes open that error, there might be extra useful information.

I’m using a HA Proxmox image too. I vaguely remember that I couldn’t get git+https to work. In the end I/we switched to using testpypi: https://test.pypi.org/
It’s a bit more work but it works with HA in Proxmox.

With a (.tar.gz) file on testpypi the requirements line becomes, an example:
[“https://test-files.pythonhosted.org/packages/67/5c/7848efa3520d605ad6036991c04e2edca2d823b87bafe4b657a8e83fa497/plugwise-1.2.0a2.tar.gz#plugwise==v1.2.0a2”]

The https-link is taken from the download-link on testpypi of the relevant version:

You can have a look at GitHub - plugwise/python-plugwise: Plugwise python module for Smiles (Anna, Adam, P1) and Stretch, it shows how we have implemented this stuff for the plugwise-integration.