#How do I get an "energy spent cost" sensor with history?

1 messages · Page 1 of 1 (latest)

final cliff
#

The energy tab will only show the kWh chart/sensor, but I want to display the amount of money that is currently (and in the past hours) being spent (i.e. current kW (not kWh) * price * interval time (I think I'm looking for at least minute resolution here). I found the possibility to enter the energy cost sensor from the epex integration, but I haven't found a way to create a sensor that multiplies the energy cost of the past hour with the energy usage of the past hour/timeinterval. What should I be looking for? Currently I'm considering using an automation that "manually" calculates the values i want and saves them in a helper var. But that feels hacky, and also not the most reliable and exact way of doing things.

#

How do I get an "energy spent cost" sensor with history?