Energy dashboard not populating

I have:


But I get and empty graph. What am I missing?

The state_class should be total or total_increasing.

It’s an esphome sensor. I can only select “total_increasing” there.

If I remember correctly I deliberately added measurement to avoid the warning "this device is increasing but not strictly increasing stuff (don’t know the exact words). It is resetted every day so not strictly increasing…

Edit: eventhough I changed it in esphome and reloaded the integration in HA it stays measurement :man_shrugging:

Edit2: nevermind. I had changed that in customize