How to add values of the past to a sensor manually?

I have a sensor for the oilconsumption per day of the central heating.

That gets the data from a device that measures the oil flow.

But now I want to add values of the past and I would lik even manually like

30.1.2024 12:00 4.5

I have no clue how to achieve that except a script snippet should be able to do that if I change the code line for every day which would be easy.

thanks a lot for your support !

Duplicate. See: