Which values to use for energy dashboard configuration?

I added a gas source to energy dashboard but I’m unable to figure out what the correct sources are.

It wants one sensor in kWh.
It wants another in m3.

I only have total consumption in m3. I am calculating the current kWh with some logic in KNX. I can do more calculations if needed.

The problem I have currently: I see 0 kWh consumption but a 1,69€ price, which is confusing because I never entered a price per unit somewhere.

Any help is appreciated.

Just to keep consistency in the dashboard (which is energy driven), I would vote for the kwh sensor.

The problem is that I cannot select the m3 entity as the first item. It doesn’t show up at all.

There also is an issue with the kWh sensor. It’s value doesn’t match on whats in KNX.

Do you created the utility meters entities (sensors) for the two sensors you want (in m3 and Kwh) in the dashboard ? Here is an example from my config:

This one is coming from utility_meter.yaml:

#
# Utility Meter Gaz Courcelles
#
gaz_courcelles_consumption_hourly:
    source: sensor.smappee_usage_gaz_c_m3
    name: Consommation Gaz (m3/heure)
    delta_values: true
    cycle: hourly

where the sensor.smappee_usage_gaz_c_m3 is created like this:
This one is coming from template.yaml:

  - name: "Smappee Usage Gaz C m3"
    state_class: measurement
    device_class: gas 
    unit_of_measurement: "m³"
    state: >
      {{ states('sensor.smappee_usage_gaz_c_litres') | float(default=0) / 1000.0 | round(3) }}

I do the same for the kwh but first I have to convert the m3 measured on regular basis to watt and than kwh…

I have them only defined in KNX.

    - name: "Gas Gesamt-Verbrauch (m3)"
      state_address: "..."
      type: volume
      state_class: total_increasing

with the following customization:

  customize:
    sensor.gas_gesamt_verbrauch_m3:
      device_class: gas

I think you need entity meter entities to include them in the dashboard…