Templated electrical usage since beginning of month?

My power company has a tariff sheet that is based on blocks of usage, month, and time (if you sign up for “Time Based Billing”). In trying to come up with a cost sensor, I can deal with month and time, but I’m uncertain how to stick the amount of electrical usage since the beginning of the month in a template. Do I have to create a sensor that resets every month, or is there an inherent way to do this already with the energy system?

Have you looked at Utility Meter?

Thanks. I was under the impression that this had been replaced by the energy integration.

I don’t think so - it allows manual readings to be collected for use by the energy integration.