gurbyz / power-wheel-card

An intuitive way to represent the power and energy that your home is consuming or producing. (A custom card for the Lovelace UI of Home Assistant.)
Apache License 2.0
165 stars 22 forks source link

BETA: No battery in energy view -> calculation for home energy wrong #52

Open medicus07 opened 4 years ago

medicus07 commented 4 years ago

Hi there,

I have set up the power wheel card with the beta battery function. In power view everything is fine. In energy view, a value for battery "movement" (prod/cons) is not used in calculation. Therefore the value for home energy is wrong. It has to be: "calculated value" - "battery movement"

Thanks a lot. Yours, Michael

gurbyz commented 4 years ago

The battery is implemented in the power view only for the moment. So I interpret the issue you are reporting as a feature request to implement the battery to the energy view. But then you have to be able to supply input parameters to the card for that. Which candidate input sensors for energy (in kWh) to you have present for the battery?