Energy Distribution Card not updating on dashboard

Hi folks

Running 2011.1 here with the new Energy features fed by an Enphase Envoy.

My issue is that when I add the Energy Distribution card to my Lovelace dashboards, the card does not automatically refresh/update every hour as the underlying data updates. This only happens to the card itself when added to my dashboard, the Energy section of HA updates correctly.

The update to the ED card seems to happen when I switch tabs or dashboards in HA. Is this a bug or is there some underlying config I’m missing?

Thanks

1 Like

Same issue here,
as i use a tablet which is always on

Having now used and lived with the energy feature for a week, I realised that the energy card does update, just at very long intervals (approx. 60 minutes). I am guessing this is related to the refresh time for the energy database/stats in the new energy dashboard.

still having issues
it jumped from 4.2kW to 2.5kW sun energy (4.2 was from the day before)

Found the cause of this issue.

Home assistant app works flawless.

Fully Kiosk is causing this issue.
the strange thing is that all other sensors which are displayed are “realtime” only the energy distribution card doesn’t update.

1 Like

unfortunately it seems to hang after a while
and wont update even in the HA app itself

Hi Folks

I got it working by making a new energy distribution image.
and making e few extra template sensors.

image

for who wants to use the same image
ener3

here is the code for the picture element

type: picture-elements
elements:
  - type: state-label
    entity: sensor.daily_solar_total
    style:
      top: 30%
      left: 50%
  - type: state-label
    entity: sensor.daily_energy_total
    style:
      top: 79%
      left: 12%
  - type: state-label
    entity: sensor.daily_energy_total_production
    style:
      top: 85%
      left: 12%
  - type: state-label
    entity: sensor.daily_gas
    style:
      top: 30%
      left: 88%
  - type: state-label
    entity: sensor.daily_energy_total_with_solar
    style:
      top: 84%
      left: 88%
image: https://www.<URL>/web_images/ener3.png

My problem is a little bit different.

My dashboard Energy Distribution Cards stops updating at midnight.
I have to refresh the page to get today’s information.

Does anyone know why this happens?

I have a similar issue on Raspberry Pi with firefox-esr browser.

Stefan, are you referring to kiosk mode of the HA or the browser?

Any of them.
see my solution from jan-2022

this still works the best for me

Same issue here. I don’t want to create my own solution like @Sjefske …
I think it need to be updated automatically. Looks like a bug as at the Energy Lovelace it’s showing correctly but not being updated if you use somewhere else…

1 Like

I Agree with you

but getting it to work sometimes you have to go with what works.

1 Like

Same here. Stops updating at midnight, yet refreshing the browser page makes it work again until midnight.

It’s related to type: energy-distribution card not updating on wall tablets · Issue #16604 · home-assistant/frontend · GitHub, fixed in Dec 2023 by Fix for energy cards not refreshing hourly by karwosts · Pull Request #18854 · home-assistant/frontend · GitHub