I have a Landis+Gyr heat meter (Landis+Gyr Heat Meter - Home Assistant) which I can luckily add to home assistant to track the heat we are using in the house.
Unfortunately the hardware doesn’t report reliably so the readings look like this:
Awesome would be to create a sensor, that takes the value of the MWh readings, if there are any present, or stays the same if no new value is provided.
I’m not that familiar with template sensors, but I guess this would be the way?
Maybe someone could point me to the correct handling of this.
You can create an utility meter sensor out of this total increasing sensor. You should set your new sensor’s reset cycle as none to keep the total there.
Okay, it’s nearly working as expected.
Right now it’s only showing the heat energy used since i created the template sensor and I haven’t found a way in GUI to give it an offset so that it reads the whole heat usage.
Thanks a lot, for patiently pointing me in the right direction. Found the calibrate service under developer tools.
Now it seems to be working as expected.