Skip to content
Home Assistant TestFlight
Climate

Tesla Custom Integration

alandtse/tesla · vv3.28.0

HACSCloud polling

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.

In Apple Home through HomeKit Bridge

What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.

EntityShows up asNote
switchSwitch or outlet
coverBlind, garage door, window or door
climateThermostat
lockLockNeeds its own HomeKit Bridge in accessory mode
binary_sensorSensor (motion, contact, leak, smoke…)
sensorSensor (temperature, humidity, air quality…)
buttonButton (as a switch)
selectMode picker (as switches)
device_trackerPresence (as an occupancy sensor)

What people report

Cloud-based Tesla integration; newer cars (Model Y Juniper, Highland Model 3) need the Fleet API or HTTP proxy for commands, and read-only access is common. Powerwall controls keep expanding.

  • Works4
  • Partly works4
  • Not working2
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
Tesla 2021 Model 3Works CloudReading and control via HTTP proxy
Saved copy
This is my first attempt at implementing Tesla HTTP Proxy so that this integration can continue working with modern vehicles. It is currently working for me with a 2021 Model 3, both for reading sensors and sending commands. This change is necessary because Tesla has deprecated the Owner API, so commands now require end-to-end encryption. Reference: https://github.com/teslamotors/vehicle-command This change depends on my fork of teslajsonpy and the HTTP Proxy add-on. I'm leaving this as a draft because I need some help cleaning this up and adding tests. TODO: Update teslajsonpy requirement …

Excerpt saved from GitHub on 2026-10-23.

PR #853 · 2024-02
Tesla Model S sunroofWorks CloudSunroof open/close cover added
Saved copy
Tested on my MS 🚗 and i can confirm everything works. Closes https://github.com/alandtse/tesla/issues/287 ## Summary by CodeRabbit * New Features * Added a sunroof cover for Tesla vehicles with open/vent and close actions; reflects vehicle sunroof state and is available only when a sunroof is present. * Tests * Added tests covering sunroof open/close actions, state updates after commands, and preventing duplicate commands when already in the target state. * Chore * Minor formatting cleanup in component constants.

Excerpt saved from GitHub on 2026-10-23.

PR #1178 · 2026-04
Tesla PowerwallWorks CloudStorm Watch controls, export 'Nothing' option
Saved copy
Summary by CodeRabbit - New Features - Added Storm Watch controls for compatible Tesla Energy battery sites. - Added a status sensor showing whether Storm Watch is active, with capability and storm-state details. - Added a switch to enable or disable Storm Watch from Home Assistant, with errors reported when changes fail. - Bug Fixes - Tesla proxy discovery no longer blocks Home Assistant’s event loop while waiting for responses.

Excerpt saved from GitHub on 2026-10-23.

PR #1250 · 2026-10
Tesla vehicleWorksExposes location, battery, charging, climate, sentry and more as entities
Saved copy
It actually includes a ton of entities, pretty much anything you can get remotely or set remotely. For example: - Location (including tracking it with areas) - Battery % - Battery estimated miles - Odometer - Current charging status & rate - inside temp - Outside temp - HVAC switch - Charging enabled switch - Sentry switch (if available) - Door, Trunk, Frunk, and Charging port unlock buttons Obviously it's pretty redundant with the app for on-demand actions, but I like having the location available at a glance, and I could imagine some creative ideas with pre-heating or automatically setting …

Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23.

Reddit comment · 2020-05
Tesla integration (floodlight de-Google)Partly works CloudNeeds domain, SSL certs, webserver and proxy; locked down
Saved copy
Right, but local versus cloud makes a TON of difference. If you think Google is hard, do not even think about the Tesla integration!! You need a domain name, SSL certs, a webserver, the integration itself... the certs/keys in the right place... and so on. They are locking down access to you car, so they play it safe. You vacuum doesn't care if China can clean your home without your permission!! My Skybell doorbell integration was trivial... a few clicks and it was just up and working. Then I got the bill from Comcast because the doorbell was using over 300MB of data a month streaming to the …

Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23.

Reddit comment · 2024-08
Tesla Model 3 HighlandPartly works CloudRead works but writes fail without Fleet API/proxy
Saved copy
Hi all, If you have an issue it would help us if you could specify some basic information such as the version of the extension, what car model you have and the firmware version your car is running. You might all be being affected by the change that Tesla has been working on that requires the use of the new API and newer cars can't use the old one (and older cars from next year) - https://github.com/alandtse/tesla/issues/743

Excerpt saved from GitHub on 2026-10-23.

Discussion #797 · 2023-12
Tesla Model Y (Juniper)Partly works CloudControls fail with unknown_error; Model 3 still works
Saved copy
… understand I may need to use it - [x] I understand issues relating to read only commands will be auto closed if not using the Fleet API. ### Version of the Tesla component 3.24.3 ### Version of the Tesla car software 2025.14.6 ### Model model x (although it also show a model y sensor and i don't have a model y) ### Current Behavior i have tesla custom integration, powerwall and wall connector ... all are working fine ### Expected Behavior is this related to tesla custom integration or frontend ? ### Debug logs ```true 2025-05-21 03:39:40.149 ERROR (MainThread) …

Excerpt saved from GitHub on 2026-10-23.

Issue #1106 · 2025-05
Tesla vehiclePartly works CloudLocation updates infrequent; Teslemetry paid, Tesla Custom free but more setup
Saved copy
Telemetry is very simple and works well, but costs something. Visit Teslemetry.com to start. Tesla custom is free, but some work to set up. https://github.com/alandtse/tesla https://github.com/llamafilm/tesla-http-proxy-addon/blob/main/tesla_http_proxy/DOCS.md

Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23.

Reddit comment · 2024-08
TeslaNot working CloudIntegration effectively broken by API change
Saved copy
… have a swing yourself, you’ll find everything you need on GitHub. I’m not even sure that your examples are anything to do with HA integrations. Take the Tesla example… are you aware of the change to the fleet API and the limitations that Tesla has placed on the number of calls per day? How is this anything to do with HA? Go complain to Elon. In short, entitled much?

Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23.

Reddit thread · 2024-07
Tesla vehicles vent windowsNot working CloudWindow vent stopped working without Fleet API
Saved copy
… understand I may need to use it - [X] I understand issues relating to read only commands will be auto closed if not using the Fleet API. ### Version of the Tesla component v3.24.0 ### Version of the Tesla car software 2024.26.6 ### Model Model 3 ### Current Behavior The "Windows" button, ie no longer vents the car (ie open all four windows slightly). The call does communicate with the car (I hear the "click") but no action occurs. Nor does the display reflect the current status (unsurprisingly, I suppose). This worked until recently, though I'm not sure when it stopped. Venting using the app …

Excerpt saved from GitHub on 2026-10-23.

Issue #1032 · 2024-08

Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.

How it connects

Cloud polling

Goes through the maker’s cloud, asking it for updates every so often. Needs the internet and an account.

Found automatically over

  • DHCP

Details

Installs (analytics)4,413 (0.62%)
GitHub stars787
Latest versionv3.28.0 (2026-10-22)
Set up in the UIYes
Maintainers@alandtse
LicenseApache-2.0

In ReReHome

Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.

Bridges get their own settings page listing the accessories behind them.