Tesla in Home Assistant: the car as part of the smart home
An overview of the ways to connect a Tesla to Home Assistant: the official Tesla Fleet and the Tessie and Teslemetry services. What you see, what you can command and where the limits are.
- Level
- Intermediate
- Active time
- 30–90 minutes
- Home Assistant required
- Yes
The car is the biggest power consumer in the home, but it is usually outside it. When you add it to Home Assistant, you see its charge next to the other appliances and can include it in the same rules.
This article is an overview. We do not sell anything for this project and have not tested it on your car.
What you will get
- Clarity on which connection method to choose.
- What the car shows in Home Assistant: charge, charging status, climate, doors.
- Two example automations: a notification for finished charging and pre-heating before departure.
- Clear limits: the car is in the Tesla cloud and does not work as a local device.
What you will need
- Home Assistant with internet access.
- A Tesla account.
- One of three integrations. All are in the Home Assistant documentation:
– Tesla Fleet: the official integration through the Tesla Fleet API. – Teslemetry: a third-party service. – Tessie: another third-party service. Its integration shows vehicles and energy products from your Tessie subscription.
- Setup time depends on the chosen integration and on your account.
Check the prices and terms of third-party services with them; they change and are not ours.
How it works
Home Assistant does not talk to the car directly. It talks to the Tesla cloud, directly or through an intermediary. The integration periodically reads the state and sends commands. So:
- Your car “sleeps” and does not always answer immediately.
- If the internet drops, Home Assistant loses the car.
- Commands go through a third-party server. Give the account only the rights it needs.
The exact entities depend on the model and the integration. Tessie’s documentation describes sensors, switches, buttons, climate, lock, player, updates and energy entities.
How it is at our place
Marto uses Tessie. In his Home Assistant there are entities for the charging cable, the battery heater, cabin overheat protection, the climate, and the doors and windows.
The daily report at 23:59 also includes a value for the car’s charging: Marto gets one total with the overall kWh and the change compared with yesterday. Another automation, when the load goes above 12 kW, first lowers the charger’s current by 10 A, but not below 8 A. If that is not enough afterwards, it switches off the water heaters. The car is touched only when the automation has lowered it, so restoring it is safe.
Steps
- Choose an integration. To start, Tessie or Teslemetry are easier, Tesla Fleet is the official one.
- Settings → Devices & services → Add integration. Search for the name of the chosen integration and follow the screens. You expect entities for your car.
- Make a notification for finished charging. Example; the entities are examples and differ by integration:
alias: Tesla – charging is finished
triggers:
- trigger: state
entity_id: sensor.tesla_charging
from: charging
to: complete
actions:
- action: notify.mobile_app_telefon
data:
message: The car is charged.
mode: single
Check in Developer tools → States what your entity is called and what values it has. On some models the state is charging, on others it uses binary_sensor.
- Add the readings to the dashboard or to the Energy dashboard, if the integration provides energy. Tessie also documents the Energy dashboard.
- Before you automate commands: climate, charging, locking. Start with notifications only and add the commands only once you see that the data is correct.
Checking the result
- Open the car from the Tesla app and see whether the state changes in Home Assistant. A delay is normal.
- Cut the internet for a short time: the entities become unavailable and then come back. They are unavailable, not “off”; write the conditions so that they do not react to unavailable.
- Trigger the notification with a real charge.
If it does not work
- A command returns an error: signed commands or permissions are needed. See the integration’s “Troubleshooting” section (Command signing, Missing scopes).
- The data does not update: the car has gone to sleep or the service is stopped. Check the account in the service.
- Double notifications: the automation also reacts to the unavailable state; add a condition.
Limitations
The car is not a local device. Every command goes through a cloud and may be delayed or refused. If your charger is not a Tesla one, measuring the current is a different topic.
Sources and verification status
- Tessie integration, verified on 22.11.2026.
- Tesla Fleet integration, verified on 22.11.2026.
- Teslemetry integration, verified on 22.11.2026.
- Marto’s automations were read in read-only mode in his Home Assistant on 22.11.2026.
The entity names are examples.
At home
Marto
In Marto's Home Assistant the car is visible through the Tessie integration: there are entities for the charging cable, the battery heater, the climate and the doors. The daily power report adds up the home's consumption and the car's charging, and when the main breaker is overloaded an automation first lowers the charger's current.
Need a hand?
We can set up and install everything in this project. In some regions we install it ourselves — ask us.
Contact us


