ZHA TZE204_cjbofhxw power clamp meter

i find solution for my device: GITHUB
I also have a solar power plant and it shows the power nicely as a positive number and as a negative when I have excess electricity. But there is no entity that would add up the total power that I produce and send to the network… Now I have ordered another sensor that will do it, although I would have to do it all with one