Water meter does not show up on energy dashboard

I have successfully added ft^3 sensor as gas statistic to energy dashboard but my water meter does not show up for some reason as compatible. I have state_class available and unit set to ‘gl’ which is what energy dashboard shows. Any tips?

- state_topic: 'metermon/xxxxxxxxxxxx'
      value_template: '{{ value_json.Consumption }}'
      name: 'Water Meter'
      unit_of_measurement: "gl"
      state_class: total
      device_class: water

Try with these settings:

unit_of_measurement: 'm³'
state_class: total_increasing

solution: it is a bug on the interface. depsite the fact that UI says it expects m^3 or “gl” it is actually expecting “gal”

Thanks for the hint, @Alex_Pupkin . Unfortunately changing the unit to “gal” didn’t not help, at least not in my case. I have a mqtt sensor and I am unable to select it as water source.

My sensor has device_class: water, state_class: total_increasing and I gave tried various volume units (l, m3, m^3, gal) with no success.

I hope this will get fixed soon.

this worked for me

- state_topic: 'metermon/1544285276'
      value_template: '{{ value_json.Consumption | float(0) | multiply(10) }}'
      name: 'Water Meter'
      unit_of_measurement: "gal"
      state_class: total
      device_class: water
- state_topic: "(mqtt feed name)"
          unit_of_measurement: "m³"
          name: "Water Total Consumption"
          object_id: "mqtt_sensor_water_m3_total"
          state_class: total_increasing
          device_class: water
          **icon: mdi:water**

Believe or not, after many, many tests mine started working after adding icon property. I suspect it is a mere coincidence, hard to believe it could have any effect.

I did install latest update last night, but after that the sensor was not listed even when having correct unit etc, until I added the icon property. Frustrating, maybe, but I am happy it finally works.