Energy Management in Home Assistant

If I understand correctly have a look here Energy Dashboard Add Electric Car consumption - #14 by bartland