Energy dash help

Hello people,

I have a extra kwh meter.
I messure my solar power.
But in my energy dashboard i can’t select that device. It is not in the list.

- type: serial
  method: rtu
  port: /dev/ttyUSB2
  baudrate: 9600
  stopbits: 1
  bytesize: 8
  parity: N
  name: eastron
  sensors:
    - name: eastron
      unique_id: eastronkwh
      address: 12
      scan_interval: 1
      input_type: input
      count: 2
      slave: 2
      precision: 2
      data_type: float32
      device_class: energy
      state_class: total_increasing
      unit_of_measurement: 'W'