Utility Meter no longer resetting correctly in 2024.12

I have a load of utility meters that are set to reset daily. For the last 2 days this is not working correctly. I have not changed anything with my config apart from updating to 2024.12 a couple of days ago.

Anyone else seeing this? Chart below shows the change in how it is working.

Just checked mine. They are still resetting correctly.

Were your utility meters set up in YAML or the UI?

Can you share the config if yaml.

Are there any related errors in Settings β†’ System β†’ Logs?

I posted a bug report in github and the integration maintainer confirmed it is resolved in 2024.12.1.

Just installed 2024.12.1 and have tested using an hourly cycle meter and this has reset correctly so I think it has been resolved.

Will check tomorrow am to see what happens with all of my daily meters.

FYI - the issue was impacting both helper and yaml sensors (and the energy meter custom integration.

Must be related to this fix in 12.1

1 Like

Ah. Were you using cron rather than cycle: daily

Nope. cycle: daily but it was impacting in some way (or maybe another fix not included in the changes)

Huh. I wonder why I was not affected.

Unfortunately this issue has returned after a couple of days working again so I don’t think 2024.12.1 fixed it.

So now I am investigating again and have found something strange but not sure if it is related.

I noticed a file named core (700mb) in my home assistant config directory. I have never seen this file before. The timestamp on the file is 12:03am. Looking at the utility meters I see they update to the incorrect value at 12:03am.

Any ideas about this @tom_l?

same issue in my setup
i have a daily utility meter, i config to reset daily after reading my electric company meter which is always goes up and never resets
but the util meter seems to go up always never reset
i use helper util meter
any idea?

I doubt this is the same issue.

For my issue it was a HACS integration crashing my system at exactly 12am and this was interfering with the utility meter reset.

When I was looking into this issue, I created a few utility meter helpers for testing. Use a source sensor that is always changing and create a hourly and daily test utility meter.

Post back if you can confirm it is not working as expected.