I love that water has been added to the Energy Dashboard, but configuration does not make a lot of sense. 1 cubic foot is 7.48052 gallons. My water meter (and I suspect that of most others in the USA) pulses once per gallon.
It might be possible to create a calculated value that multiplies gallons by 0.1337 to support this unit of measurement, but that does not seem like it should be necessary. The dashboard should support gallons for water.
EDIT:
I added a template sensor to my configuration.yaml file this morning to show ft³ as follows:
template:
- sensor:
- name: "Water Total ft³"
state: "{{ states('sensor.water_total_gallons')|float * 0.1336805462721843 }}"
unit_of_measurement: "ft³"
state_class: total_increasing
device_class: water
Interestingly, it showed up right away. But not only did that show up, but my sensor.water_total_gallons value suddenly showed up as well, which is of course the value I was looking for. I’ve not looked, but this suggests there may be a bug in the code that determines if any valid sensors are available.
I am up and running. I hope this helps others as well. Will also report an issue.
Hi @nelsonfaria did you get this resolved. Ive entered a static price but the dashboard shows costs as 0.00, it does not seem to use the static price entered to calculate water costs.
just tried that with a sensor for water used today in liters and it can’t find it, the merge request had liters as well as a unit of measurement but the interface only shows m3 and gl…
I’m using the water metering integration (HomeWizard Water Meter) in the Energy Dashboard. While using the “compare” toggle I get wrong units/amounts for the measured water consumption in the previous week/day.
I have a water meter that sometimes gives a totally wrong value (optical reading).
I can correct this manually using Developer Tools / Statistics.
The graphs gets corrected, but the Cost beneath the graphs does not reflect this correction, can this be fixed?