Utility Meter resets at midnight

Hi,

I want to monitor my energy consumption of my house. I have an entity from my inverter, which shows the current energy usage in kW

I create an Integral Helper to convert to kWh, which works great. This helper is not reseted or anything else.

Then I have create an Utility Meter with the Integral Sensor above. I created two tariffs, day and night.

I change the tariff at 6am and 6pm and at the same time I reset the Utility Meter Sensor.

Basically it works, but why ever the sensor also gets resettet at midnight, and I do not know why?

Best Regards,
Johannes

That's literarily how utility meter work.

Change the utility meter cycle option from "daily" to nothing, so it never automatically resets.

But thats what is strange - it is disabled...

Show us a screen shot of its attributes from the developer tools -> states page.

Also the source sensor for the Utility Meter doesnt get reset at midnight:

but the night tariff gets.

Of your utility meter not your automations.

I see...

Where could this midnight reset be set? I have set up the utility meter from the UI.

It's one of the options when you set up the helper. Default is no cycle, so you might have selected daily by mistake

There is also an option further down called "Periodically resetting" which you might want to disable because it's enabled by default.

I think I found the issue. It was in front of the computer :slight_smile:

The "periodically resetting" was correctly disabled. But I have a Daily Energy Consumption entity and somehow I took this as input for the utility monitor.

Changed it and now it is working.

That does not matter. The utility meter does not reset just because the source sensor does.

Ok, then maybe not a Layer 8 issue...

Because I am pretty sure I have selected "no reset" when creating it. We will see now at midnight. I have newley created it and now am 100% sure, that I have set "no cycle".

Or you can go to the helpers screen, click the 3 dots next to your helper & select Settings. That should show you whether it's set to no cycle or daily.