Skip to content

Energy dashboard is shifted one hour #27089

@zeeh

Description

@zeeh

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Every electric meter in Norway, Sweden and Denmark, and probably other countries as well, report used energy at intervals. In Norway it is each hour. I believe that is true in Sweden as well. And in Denmark, I understand it is each 15 minutes. Anyway, the problem is the reported energy used is sent from the electric meter after the interval is finished. And that means that every state change on the energy sensor is in the wrong hour or day for the norwegian electric meters. The sensor for the cost / price of electricity is usually changing a few seconds before the energy sensor changes, so we get the wrong price, too.

As you see, there is timing issues regarding state changes of price and energy when it happens at the hour. In the energy dashboard, it should be possible to configure some offsets to the entities so that energy is mapped to the correct price and the correct hour.

from: https://community.home-assistant.io/t/energy-dashboard-is-shifted-one-hour/685596

Describe the behavior you expected

You can see the screenshot her https://community.home-assistant.io/t/energy-dashboard-is-shifted-one-hour/685596/10?u=markuszeeh - and it shows the one hour "delay".

We need a setting to can change the time for "Energy usage" (in this case -1 hour)

Steps to reproduce the issue

...

What version of Home Assistant Core has the issue?

2025.9.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

JavaScript errors shown in your browser console/inspector

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions