The modified pyvaillant code should be in its own repository or, even better, try to merge the modified files with the upstream repository.