Initial Value for sum integral sensor

I have created in my configuration a sum integral sensor for my power meter reading.

Its working find, but I want to set the actual value of my powermeter.

At the moment he is starting vom 0. Butt I want to set the initial value to 789kWh.

Can I set this in the UI or in the SQL? I have access to mysql by using phpmyadmin.

  - platform: integration
    name: Stromzählerstand
    source: sensor.total_energy
    unit_prefix: k
    unit_time: h
    round: 0
    unique_id: stromzaehlerstand

I see this request a lot and I still don’t understand it. The important data is how much you use an hour/day/month not the absolute value.

But if you feel the need for it then the easiest way is to feed your sensor to a utility meter helper (with no cycle specified, so it counts up forever), and use the utility meter calibration service in Developer Tools → Services to set the value the same as your meter.

1 Like

This is for statistic use and to send the absolute Value to my energy provider every year.

Very Complicated, but Its working. Thank you :slight_smile: