Sensor Template doesn't work

Please post code as formatted text in future: see points 11 and 14 here.

Legacy format template sensors are described here:

Your line:

sensors:
  sensor.solarmanf...

should read:

sensors:
  solarmanf...

HA will then create sensor.solarmanf....

You’ve also mis-spelled “measurement”.