Test compatibility with Bouni/luxtronik-python@main
This BenPru/luxtronik integration relies on the python-luxtronik library. Correct definition of new luxtronik parameters, calculations should preferably be done in that library, otherwise can we need to apply more and more band-aids in this integration for get things working. Related to some discovery problems I also noted several screenshots showing 'None' as the Heatpump manufacturer and Model, possibly/likely because the existing python-luxtronik library does not yet 'know' these new heatpump types. BenPru asked for a (bigger) update about 2 years ago, https://github.com/Bouni/python-luxtronik/issues/136 , but development came to a halt last year. :-( I have now asked if it would be possible for that library to release a small update, and this may be an option.... :-)
We should therefore check if the current development version Bouni/luxtronik-python@main doesn't break the current integration.
I am setting up a branch https://github.com/BenPru/luxtronik/tree/test_compatibility_with_main_python-luxtronik we can use to test this.
Could we document this as a coding standard/guide? It would be nice to have a small guide for not so experienced developers (like myself) on how to discover and add new parameters properly.
It would also allow me to better review and suggest improvements.
My testing approach so far is this:
- I tried pointing to the python-luxtrunik main branch in manifest.json, but that didn't work
- I have my Home Assistant running in a docker container
- What did work is manually updating python-luxtronik in my home assistant docker container:
docker exec -it homeassistant /bin/bashand then
pip uninstall luxtronik
pip install git+https://github.com/Bouni/python-luxtronik.git@main
- exit the docker container
- update manifest.json to 'luxtronik' iso 'luxtronik==0.3.14' to prevent my changes from being overwritten!
docker restart homeassistant - then the debugging begins: looking at the errors of the luxtronik2 integration not starting up, because of some changes in the python-luxtronik....
Is this what you are looking for in terms of documentation of the process? Or something else?