Energy Dashboard MQTT Sensor can not be added

Hello i would like to add a mqtt sensor to energy dashboard with the following configuration but it does not show up.
Here is the config:

    - state_topic: "openWB/lp/1/kWhCounter"
      state_class: total_increasing
      value_template: "{{ value | float(0)  | round (2) }}"
      name: Ladepunkt 1
      unique_id: uniqueid_openwb_lp1_counter
      unit_of_measurement: 'kWh'
      device_class: energy```

Thanks for helping me out!

value_template should be determined based on the actual data of your topic:

mqtt:
  sensor:
    - unique_id: "uniqueid_openwb_lp1_counter"
      object_id: "uniqueid_openwb_lp1_counter"
      name: "Ladepunkt 1"
      state_topic: "openWB/lp/1/kWhCounter"
      value_template: "{{value_json.kwhcounter}}"
      unit_of_measurement: "kWh"
      device_class: energy
      state_class: total_increasing