Help with an error Solarman

sensor:
  - platform: template
    friendly_name: "Solarman  Cumalative Production"
    unit_of_measurement: "kWh"
    value_template: >
     {{ (states('sensor.toodetud_hetkel') | float) | round(2) }}
    device_class: energy
    value_template_class: measurement
    attributes:
      last_reset: "1970-01-01T00:00:00+00:00"

Invalid config for [sensor.template]: [friendly_name] is an invalid option for [sensor.template]. Check: sensor.template->friendly_name. (See ?, line ?).

any ideas? dont have anymore ideas whats wrong with that :slight_smile: