Hi there,
I got a new water meter installed yesterday. Before I had a counter with normal numbers and analogue pointers.
Now I got a digital counter, which I can continue to read with “al on the Edge”.
Since the counter starts at 0.000 and my old counter stopped at 1086, I am wondering how I can continue at the value 1086 so that there are no discrepancies in the Energy Dashboard.
My “Al on the Edge” device is integrated via MQTT:
- name: "Water meter consumption"
state_topic: "water meter/meter reading/value"
unit_of_measurement: "m³"
state_class: "total_increasing"
device_class: "water"
I thought I could do this with a value template:
- name: "Water meter consumption test"
state_topic: "water meter/meter reading/value"
unit_of_measurement: "m³"
state_class: "total_increasing"
device_class: "water"
value_template: "{{ states('sensor.watermeter_consumption_test') | float + 1086 }}"
Unfortunately that doesn’t work.
Does anyone have an idea - or what is the best way to proceed?
Thanks very much
greeting
Herbert