Energy Dashboard not working

Hi everyone,

Since one of the last updates, my energy dashboard stopped working. I have found several topics on this forum, but noone of them worked for me. I think that I am missing something, but can’t find out what.

This is what I added in my configuration file:

homeassistant:
  customize_glob:
    sensor.power_consumed:
      device_class: power
      state_class: measurement
    sensor.energy_consumed_tariff_*:
      device_class: energy
      state_class: total_increasing

Here are my sensors attached as image:

Any idea will be appreciated!

What exactly does “stopped working” mean?

With “stopped working”, I mean that the dashboard is giving me incorrect data. See the attached screenshots below.

Screenshot #1: Even though I use power the whole day, the dashboard shows gaps in between usage. Although there is always usage reported by the sensor in the overview dashboard.

Screenshot #2: The calculation is wrong. Although I have set gas price for more than 1 EUR per m3, it says consumed: 7,51m3, but price is 3,83 :face_with_monocle:.

Today and yesterday, everything was empty:

If I look my sensors, they keep changing every second though! So the sensors are working but somehow it’s not calculating everything correctly in to the dashboard…

what happens if you click “week”, do u see prior week ?

When I click “week”, I will see the same issue (missing data + incorrect price calculation) but on week level.

could you share a pic, of previous week ?
@Kck , last weeks Total_Consumption :wink:

Hereby:

Two side notes:

  1. Calculation is wrong (usage is 57,44 and total price is 27,49. This isn’t possible since per m3 I have setup a value higher than 1)
  2. Real usage is much higher than what is displayed here (on this specific dashboard).

ok, in regards to calculate your gas_consumption you might also wanna read about this in documentation (And FAQ) for Energy-Dasboard, and eventually search this forum for that in specific.

Starting your first “Post” in this forum( after 20 min readtime) with the sentence “Since one of the last updates” is rude and in my opinion unacceptable, as your not only “indicate” an update as cause ( and thereby the developers ) , your also wanna attract attention, from all people who use Energy-dashboard,regardless of the fact that , that you have no clue, and yo most likely not have read the “updates” before you pressed the “red” button, and that you have not read the documentation, nor FAQ.

You most likely get your “energy” sensors (on the right picture in initial post above) from your energy provider, Total_ seems ok , whats messing it up is you add “Power_Sensors” , you create via some API … these have to be “converted” into "Energy_Sensors, so your next step would be, search this forum(after reading documentation, and FAQ) for howto make these sensors, in your search_terms you could narrow it down to first focusing on electricity, even thou gas_consumption also need to be provided as “Energy” but the Gas_Calculation is out of my “scope” , but i know there is a “logical” answer out there. … and today is monday, new day of week, you might not have hourly_consumption from your provider, right pic above ( so this info is normally 1-2 days delay )
Good Luck

Thanks for your effort trying to find a solution.

I have read the documentation and FAQ, though this issue doesn’t look to be covered. Also the “possible fixes” in other threads didn’t fix it.

I will format and configure from scratch, that will probably fix it.

1 Like

Just remember the device_class: Power(in the left picture above, have to be converted into device_class: Energy … ( the reason why you haven’t “total” hourly_consumption, from these entities )