I've created a custom component to integrate with my Sunnyboy SB4000TL-20 over RS485 (using SMANet)
I've used yasdi (as a dll) and yasdi2mqtt before I decided I wanted a esp32 to take over the job.
You can find it here.
Hopefully it might be of use to someone else. No guarantee it will work with other models.
Rich