Energy costs sensor resets after restart

I also noticed the same (and maybe to add some information to this post). With the new energy dashboard from some releases ago, in the latest release when setting up an energy sensors with a pricing entity linked to calculate costs, HomeAssistant also auto-creates new sensors named ‘Sensor cost’ with a price which seems to be like a meter entity that:

  • Resets once per day
  • Resets when HA restarts.

I guess second option can’t be changed as it might be some tracked cost in the portal, but my question is, any way to change when in the day does the sensor cost resets? It would be more useful to have it reset at midnight, to have the cost sensor direclty show the accumulated costs throughout the day.

I tired searching a bit about these automatically created sensors costs but couldn’t find much. Any link to docs or something would be very appreciated to understand them better!

Thanks

1 Like