Hi,
I have the following:
- An EV charging station where I have a sensor for lifetime energy (used kWh over time, Easee).
- A template sensor that shows current electricity price, per hour (Nordpool).
Now I want an entity that gives me cost over time based on this, i.e. the same thing that the Energy panel gives, but just for the charging station.
I have looked into the Utility Meter. The problem I can’t solve there is the fact that the price changes hourly. I don’t know how to take that into account.
I’ve also looked into creating an automation that saves the latest reading to a helper from the charging station, so that I can do some math:
cost = (current kWh level - helper kWh level) * current cost/kWh
…but it seems like a tacky solution.
Anyone that can point me in the right direction? Some info about the sensors mentioned above:
sensor.laddbox_easee_lifetime_energy =>
state_class: total_increasing
name: xxx
id: yyy
unit_of_measurement: kWh
device_class: energy
icon: mdi:counter
friendly_name: Laddbox (Easee) Lifetime energy
nordpool_kwh_se3_sek_3_095_025 =>
current_price: 1.389
unit: kWh
currency: SEK
country: Sweden
region: SE3
1 post - 1 participant