Add SmartThings Climate to the Energy dashboard

Hello,

Using the Energy dashboard is great, adding also the consumption of the Samsung Climate is much appreciated as the #1 consumer in the house.

Don’t forget to vote for your own feature request.

Workaround:
From looking at the documentation for SmarThings Climate, it seems like there’s a power_consumption_energy state attribute.
You could create a template sensor like this:

template:
  - sensor:
      - name: SmartThings Climate energy
        unit_of_measurement: "kWh"
        state_class: total_increasing
        device_class: energy
        state: "{{ state_attr('sensor.your_sensor', 'power_consumption_energy') }}"

Thank you @ondras12345 .
I did that but it is not visible on the Energy Dashboard (I could not add it to the list of Energy).

Edit - I had to use kWh as a unit of measurement which was solving this.