For Home Assistant, I use the installation script from here, it works flawlessly:
https://community-scripts.github.io/ProxmoxVE/scripts
This group took over the project after the main developer passed on, they are quite easy to install and just need you to be in the Proxmox host shell (Once you install it, you will know where it is) :)
https://github.com/ArabCoders/watchstate
I use this one for my Emby server and it keeps track of what we watch, and so far so good. I made it our Trakt.tv replacement and have no complaints so far.