Restful to energy dashboard

Hi,
i’m struggling at getting my solar inverter data into the energy dashboard.

here is my yaml configuration, in a separat file rest.yaml
rest: !include rest.yaml

- resource: https://www.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId=XXXXXXXX&sn=YYYYYYYY
  scan_interval: 150
  sensor:
    - name: "Solax InverterSN"
      value_template: "{{ value_json.result.inverterSN }}"
    - name: "Solax SerialNumber"
      value_template: "{{ value_json.result.sn }}"

    - name: "Solax ACPower"
      value_template: "{{ value_json.result.acpower | float }}"
      state_class: measurement
      device_class: energy
      unit_of_measurement: "W"
      unique_id: solaxacpower

    - name: "Solax FeedInPower"
      value_template: "{{ value_json.result.feedinpower | float }}"
      state_class: measurement
      device_class: energy
      unit_of_measurement: "W"
      unique_id: solaxfeedinpower

an here’s a view of the entity I’m getting out of it.

can anyone help?

thanks in advance