Custom Solar Power Card the Tesla Style (almost)

You’re a legend mate!! I spent a fair bit of time but couldn’t display correct values (if I fixed one thing, then the other broke). With your code (after changing the sensor entities), it works so good so far.
Edit: My inverter is Fronius Primo 8.2 kW.