Utility Meter: add last_calibrated field

Hello. Please add last_calibrated field, just like there already is last_reset.

Utility meter already has a last_reset field. However to reset an utility meter, it has to have a tariff and tariff has to have some automatic reset configured. But if I want to measure the consumption periods manually (e.g. because it is a socket and I’m checking how much power individual devices are consuming), I have to use calibrate call and there is no timestamp stored for that.

A workaround is to have a special script to calibrate each such meter and see when that was called, but then I must not forget to use the script and I need a standalone script for each meter. Or I need to create a helper for each meter and set that explicitly in a more generic script. Neither of which is ideal.

Don’t forget to vote for your own request.

Oh, thanks. I didn’t thought of that. :smile: