I am trying to figure out how to add water consumption from my Digital Hand Shower to the Energy Dashboard…
I have an ESPhome based sensor, which (unfortunately) starts form 0 every time a new shower is started…
The sensor has been configures in ESPhome as:
# Current water consumption in m³
- platform: template
name: "dsh_curShowerM3"
id: dsh_curShowerM3
device_class: water
icon: 'mdi:cup-water'
unit_of_measurement: "m³"
accuracy_decimals: 5
update_interval: never
state_class: total_increasing
In order to have something more useful, I have created an utility meter helper, using the sensor above as input …
But this utility meter sensor does not show up in the selection of water consumption for the dashboard (and more than 2 hours has passed)…
The utility meter helper resets once per month - could this be the issue ? Or can utility meter helpers simply not be used for measuring water ? Or is it a config problem ?
Hi
I have a customize.yaml file in which I added such lines
sensor.volume_eau_m3_zigbee_jour:
device_class: water
sensor.volume_eau_l_zigbee_jour:
device_class: water
I already discussed with ha team and they don’t consider that this is an issue but an evolution .
I don’t agree but I think that I will do an evolution request one day !
Phil
The issue is when from this sensor ( with the water attribute) you create a daily utility meter
In that case and for water only the water attribute is lost
Is this still the case as of today? When you create a utility meter using a water device_class as input, the device_class does not follow to the utility meter?
I have created a utility meter using a water input. It has been getting updated for over 24 hours and has multiple readings, but, I can’t add it to the energy dashboard. The device_class is set for the utility meter that was created using the GUI.
Here is the config from developer tools for the utility meter.