Count heat pump starts per day

Hello,

I am looking for a most likely very easy implementation.

I have a entity that shows me the amount of heat pump compressor starts since I am operating the heat pump (simply described a counter). Currently the counter value is approx. 5000 (integer value).

Can I easily use a helper or something else to get the amount of starts per day? Reset every day at midnight and have a statistic over the last 365 days.

Thanks and sorry if I misused the search function but I did not find anything similar.

You should be able to use a set of utility meters (daily, weekly, monthly) to do that.

For a 365 days, you’ll have to use the cron argument, something like 0 0 1 1 *

You can test your cron expression here