Esphome pulse S0 Meter into energy dashboard

I have some long time esphome pulse counter for 3 solar strings running that I would like to add to the energy dashboard as seperate systems.

Right now I cannot select them
I have this in esphome;

esphome:
  name: solar
  platform: ESP8266
  board: nodemcuv2
  
wifi:
  ssid: ""
  password: ""

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "solar"
    password: ""

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

web_server:
  port: 80

# Sync time with Home Assistant.
time:
  - platform: homeassistant
    id: homeassistant_time

# Text sensors with general information.
text_sensor:
  # Expose ESPHome version as sensor.
  - platform: version
    name: solar ESPHome Version
  # Expose WiFi information as sensors.
  - platform: wifi_info
    ip_address:
      name: solar IP
    ssid:
      name: solar SSID
    bssid:
      name: solar BSSIID

# Sensors with general information.
sensor:

  # Uptime sensor.
  - platform: uptime
    name: solar Uptime

  # WiFi Signal sensor.
  - platform: wifi_signal
    name: solar WiFi Signal
    update_interval: 60s  

  - platform: pulse_counter
    pin: GPIO5
    unit_of_measurement: 'kW'
    name: 'Energy solar huis zuid'
    device_class: energy
    state_class: total_increasing
    filters:
      - multiply: 0.06
      
  - platform: pulse_counter
    pin: GPIO4
    unit_of_measurement: 'kW'
    name: 'Energy solar tuinhuis'
    device_class: energy
    filters:
      - multiply: 0.06      

  - platform: pulse_counter
    pin: GPIO14
    unit_of_measurement: 'kW'
    name: 'Energy solar oost'
    device_class: energy
    filters:
      - multiply: 0.06

i already added
device_class: energy
state_class: total_increasing
in one counter, but to no available

Does it work if you change the units from kW to kWh?

no, no difference

So it doesn’t show up if it has?
device_class: energy
state_class: total_increasing
UoM: kWh

Could try it as a template sensor I suppose
Something like…

template:
  - sensor:
      - name: "Energy solar huis zuid"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing
        state: >
           {{ states('sensor.energy_solar_huis_zuid') }}