Integrating pylontech UP5000 into homeassistant

Maybe this will help: