I am using AI-on-the-edge (GitHub - jomjol/AI-on-the-edge-device) to measure my water-consumption. That’s working ok-ish and now I’d like to integrate it into my energy-dashboard since it now supports water consumption.
This is what my configuration currently looks like:
mqtt:
sensor:
- name: watermeter_m3
state_class: total_increasing
device_class: water
state_topic: "watermeter/main/value"
unit_of_measurement: m³
icon: mdi:water
unique_id: watermeter_m3
json_attributes_topic: "watermeter/main/json"
utility_meter:
water_consumption_yearly:
name: Wasser Jährlich
source: sensor.watermeter_m3
cycle: yearly
water_consumption_monthly:
name: Wasser Monatlich
source: sensor.watermeter_m3
cycle: monthly
water_consumption_weekly:
name: Wasser Wöchentlich
source: sensor.watermeter_m3
cycle: weekly
water_consumption_daily:
name: Wasser Täglich
source: sensor.watermeter_m3
cycle: daily
water_consumption_hourly:
name: Wasser Stündlich
source: sensor.watermeter_m3
cycle: hourly
And that kind of works. So I have the entity watermeter_m3
which shows me the current value and when I click on it, also shows me the history for that sensor.
The only thing not working is it’s not showing up in my energy dashboard?!? Any idea why?
Also… before the latest update I tried a bit arround and wanted to add water as gas, just to see how it would look. Now I am having a hard time to get rid of that old data. Is there any advice? I already went to Developer-Tools → Statistics → and deleted everything there related to it, but on my energy-dashboard it still shows that old data, even without data, but still… it’s still there… and my new water sensor/utility-meter is not showing up.
Super happy to get some ideas
Cheers, Georg