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
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.
- 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.