How to manually enter monthly Energy readings?

Hello,

Is it possible to manually enter my monthly energy meter readings into home assistant and have them show up in the energy dashboard? And if this is possible? How would I do it? I tried to create an input-number helper, but I can’t select it to create a utility helper.

I use similar to enter the meter value of my gasmeter, should be the same for elec

template
 - sensor: 
  
      - name: "Elec Main"
        unique_id: Elec_Main
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing
        state: "{{ states('input_number.elecmeter') |float(0) }}"
3 Likes

Thank you. I will check it out.

OK, it worked. Thank you for the help!