Home Assistant
Home Assistant instances in your network will be auto-discovered and suitable vehicle entities and services (e.g. sensor.*) will be suggested.
Parameters
| Name | Description | Value | Level |
|---|---|---|---|
uri | Home Assistant URI | optional | |
soc | State of charge [%] Entity ID for the vehicle's battery state of charge in percent | optional | |
title | Title Will be displayed in the user interface | optional | |
capacity [kWh] | Battery capacity | optional | |
range | Remaining range [km] Entity ID for the vehicle's remaining range in kilometers | optional | |
status | Charging status Entity ID for charging status (A=disconnected, B=connected, C=charging) | optional | |
limitSoc | Target state of charge [%] Entity ID for the vehicle's target state of charge in percent ( | optional | |
odometer | Odometer [km] Entity ID for the vehicle's odometer reading in kilometers | optional | |
climater | Climatisation active Entity ID for the vehicle's climatisation state ( | optional | |
finishTime | Finish time Entity ID for the estimated charging finish time (ISO8601 or Unix timestamp) | optional | |
start_charging | Service to start charging Entity ID for a script or a switch that starts charging the vehicle. Only useful with the docs.evcc.io. If a switch is provided, Service to stop charging must be left empty. | optional | |
stop_charging | Service to stop charging Entity ID for a script that stops charging the vehicle. Only useful with the docs.evcc.io. | optional | |
wakeup | Service to wake up vehicle Entity ID for a script or a button that wakes up the vehicle | optional | |
setMaxCurrent | Set charging current [A] Entity ID for setting the maximum charging current in amperes ( | optional | |
icon | Icon Will be displayed in the user interface | advanced | |
phases | Maximum number of phases The maximum number of phases which can be used | advanced | |
mode | Default charging mode Used when a vehicle is connected. Possible values are Off, Now, MinPV and PV, or empty if none should be set | advanced | |
minCurrent [A] | Minimum amperage The minimum amperage per connected phase that can be used | advanced | |
maxCurrent [A] | Maximum amperage The maximum amperage per connected phase that can be used | advanced | |
maxPower [W] | Maximum charging power hint Defines the maximum charging power of the vehicle. Helps improve charge plan accuracy when the vehicle typically uses less than the offered current or supports higher single-phase current compared to three-phase. The offered current of the loadpoint is not affected. | advanced | |
identifiers | Identification Mostly this can be added later, see: https://docs.evcc.io/en/docs/features/vehicle | advanced | |
priority | Priority Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating pv energy | advanced | |
coarsecurrent | 1A current control Vehicle supports 1A current steps only | advanced | |
streaming | Supports streaming Streaming data is received asynchronously | advanced | |
welcomecharge | Charge on connection Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. | advanced |
Configuration example for evcc.yaml
If you don't want to configure via the UI, you can alternatively use this YAML block.
vehicles: - name: my_car type: template template: homeassistant uri: http://homeassistant.local:8123 # Home Assistant URI soc: sensor.vehicle_soc # State of charge [%], Entity ID for the vehicle's battery state of charge in percent title: # Title, Will be displayed in the user interface (optional) capacity: 50 # Battery capacity (kWh), optional range: sensor.vehicle_range # Remaining range [km], Entity ID for the vehicle's remaining range in kilometers (optional) status: sensor.vehicle_charging # Charging status, Entity ID for charging status (A=disconnected, B=connected, C=charging) (optional) limitSoc: number.vehicle_target_state_of_charge # Target state of charge [%], Entity ID for the vehicle's target state of charge in percent (`number` or `input_number` entity) (optional) odometer: sensor.vehicle_odometer # Odometer [km], Entity ID for the vehicle's odometer reading in kilometers (optional) climater: binary_sensor.vehicle_climater # Climatisation active, Entity ID for the vehicle's climatisation state (`binary_sensor` with `on`/`off` state) (optional) finishTime: sensor.vehicle_finish_time # Finish time, Entity ID for the estimated charging finish time (ISO8601 or Unix timestamp) (optional) start_charging: script.vehicle_start_charge; switch.vehicle_charger # Service to start charging, Entity ID for a script or a switch that starts charging the vehicle. Only useful with the [docs.evcc.io](https://docs.evcc.io/en/docs/devices/chargers#vehicle-api-only-charger). If a switch is provided, Service to stop charging must be left empty. (optional) stop_charging: script.vehicle_stop_charge # Service to stop charging, Entity ID for a script that stops charging the vehicle. Only useful with the [docs.evcc.io](https://docs.evcc.io/en/docs/devices/chargers#vehicle-api-only-charger). (optional) wakeup: script.vehicle_wakeup; button.wakeup_vehicle # Service to wake up vehicle, Entity ID for a script or a button that wakes up the vehicle (optional) setMaxCurrent: number.vehicle_charging_current # Set charging current [A], Entity ID for setting the maximum charging current in amperes (`number` or `input_number` entity) (optional) icon: car # Icon, Will be displayed in the user interface [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional) phases: 3 # Maximum number of phases, The maximum number of phases which can be used (optional) mode: # Default charging mode, Used when a vehicle is connected. Possible values are Off, Now, MinPV and PV, or empty if none should be set (optional) minCurrent: 6 # Minimum amperage (A), The minimum amperage per connected phase that can be used (optional) maxCurrent: 16 # Maximum amperage (A), The maximum amperage per connected phase that can be used (optional) maxPower: 10000 # Maximum charging power hint (W), Defines the maximum charging power of the vehicle. Helps improve charge plan accuracy when the vehicle typically uses less than the offered current or supports higher single-phase current compared to three-phase. _The offered current of the loadpoint is not affected._ (optional) identifiers: # Identification, Mostly this can be added later, see: https://docs.evcc.io/en/docs/features/vehicle (optional) priority: # Priority, Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating pv energy (optional) coarsecurrent: # 1A current control, Vehicle supports 1A current steps only (optional) streaming: true # Supports streaming, Streaming data is received asynchronously (optional) welcomecharge: # Charge on connection, Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. (optional)