martinarva / dynamic_energy_cost

64 stars 13 forks source link

Add support for Wh #45

Open janneho opened 4 weeks ago

janneho commented 4 weeks ago

Is your feature request related to a problem? Please describe. I have a EV charger that reports energy in Wh.

Describe the solution you'd like Use unit of measurement (kWh or Wh) in calculations. Now integration assumes that energy is in kWh. Energy panel works fine with Wh.

martinarva commented 1 week ago

I would recommend to make a Wh -> kWh template sensor `template: