Cannot parse @ in value template sensor

Aahhhhh. Changed sensor.solar_inverter into sensor.stecagrid and that resolved it. Thanks!

Thanks Troon, I will have a look at that too.