OhMyHA › Guides

Electric car and EV charger in Home Assistant: the ideal dashboard card

Updated 27 October 2026 · 6 min read

The electric car is often what people look at most on a Home Assistant dashboard: is it charged, how many miles, is the charger running, how much did it cost? Here is how to get that data and display it cleanly.

1. Get the car's data

Most makes have an integration, official or on HACS: Tesla, Renault, Volkswagen, Kia/Hyundai, BMW, Mercedes, Ford, Peugeot/Citroën… Search for your make in Settings › Devices & services › Add integration, then in HACS. You usually get:

2. Get the charger's data

Wallbox, Easee, Zaptec, go-e, Ohme, Monta… have integrations too; OCPP chargers connect through the OCPP integration on HACS. Useful data: current power (kW), session energy (kWh), status, and a switch to start or stop charging.

3. Work out the cost of a charge

With a template sensor, multiply the session energy by your rate. A simple example with off-peak and peak rates:

template:
  - sensor:
      - name: "Charging cost"
        unit_of_measurement: "€"
        state: >
          {% set kwh = states('sensor.charger_session_energy') | float(0) %}
          {% set rate = 0.21 if is_state('binary_sensor.off_peak', 'on') else 0.27 %}
          {{ (kwh * rate) | round(2) }}

Replace the entity names and rates with your own.

Electric car and EV charger card in a Home Assistant dashboard, Obsidian design
Electric car and EV charger card in a Home Assistant dashboard, Obsidian design

4. A clear card

That is exactly the "cars and charger" block of the OhMyHA dashboards: it handles several cars and any make, and the builder can find your entities by itself. For the whole dashboard, see our Home Assistant dashboard guide.

FAQ

My car has no integration, what can I do?

Check HACS, which often has more than the official integrations. Otherwise, the charger alone already gives you the essentials: charging state, energy and cost.

Is the data real time?

It depends on the manufacturer: often every few minutes for the car, real time for a charger on your local network.

Read next