Hi. I made a new custom component for create own stats. It is like a alternative to counter helper but it save long term stats.
Input Stats is a Home Assistant component that allows you to create your own sensors to store your own statistics and manage them manually.
Thanks to the various Home Assistant options, we can later consult the evolution of our data by comparing it over different periods.
All info on my Github: GitHub - MiguelAngelLV/ha-input-stats: Home Assistant custom component to create a custom input number with stats support
Videotutorial (in spanish but with english subtitles)