Features

The entities and services Teslemetry provides within Home Assistant.

The Teslemetry integration exposes nearly every possible sensor value and commands avaliable for Tesla vehicles and energy products connected to a Teslemetry account.

Prerequisites

You must have a Teslemetry account and an active subscription.

Most vehicles require a virtual key to be configured in order to run certain commands. It is not required in older vehicles, but highly recommended for full functionality.

Configuration

The integration uses OAuth 2.0 to connect your Teslemetry account. Starting setup opens a Tesla login page at auth.tesla.com; once you approve access, Home Assistant stores an OAuth token for your account and refreshes it automatically, so there's nothing to copy in manually.

Configure Teslemetry

If Home Assistant ever needs you to sign back in - for example if Tesla revokes the token - it will raise a reauthentication notification with a button that takes you straight back through the same Tesla login flow. You can also trigger this yourself, or switch accounts, via the integration's Reconfigure option.

If you set up the integration a long time ago using a manually-pasted access token, it has since been migrated to OAuth automatically - there's nothing you need to do.

Manually generating an access token is only needed if you're building your own client against the Teslemetry API or SSE stream directly - it's not used by the Home Assistant integration.

Entities

These are most of the entities available in the Teslemetry integration. Not all entities are enabled by default, and not all values are always available. This list is illustrative rather than exhaustive and can drift as Tesla and Home Assistant change - for the authoritative, up-to-date platform and entity list, see Home Assistant's own Teslemetry integration docs.

Vehicles

DomainNameMethodEnabled
Binary sensorAutomaticBlindSpotCameraStreamingNo
Binary sensorAutomaticEmergencyBrakingOffStreamingNo
Binary sensorBattery heaterBothNo
Binary sensorBlindSpotCollisionWarningChimeStreamingNo
Binary sensorBmsFullchargecompleteStreamingNo
Binary sensorBrakePedalStreamingNo
Binary sensorCabin overheat protection actively coolingPollingNo
Binary sensorCharge cablePollingYes
Binary sensorChargeEnableRequestStreamingNo
Binary sensorChargePortColdWeatherModeStreamingNo
Binary sensorCharger has multiple phasesBothNo
Binary sensorDashcamPollingNo
Binary sensorFront driver doorPollingYes
Binary sensorFront driver windowBothYes
Binary sensorFront passenger doorPollingYes
Binary sensorFront passenger windowBothYes
Binary sensorPreconditioning enabledBothNo
Binary sensorPreconditioningPollingNo
Binary sensorRear driver doorPollingYes
Binary sensorRear driver windowBothYes
Binary sensorRear passenger doorPollingYes
Binary sensorRear passenger windowBothYes
Binary sensorScheduled charging pendingBothNo
Binary sensorServiceModeStreamingNo
Binary sensorStatusPollingYes
Binary sensorTire pressure warning front leftPollingNo
Binary sensorTire pressure warning front rightPollingNo
Binary sensorTire pressure warning rear leftPollingNo
Binary sensorTire pressure warning rear rightPollingNo
Binary sensorTrip chargingPollingNo
Binary sensorUser presentPollingYes
ButtonFlash lightsPollingYes
ButtonForce refreshPollingYes
ButtonHomelinkPollingYes
ButtonHonk hornPollingYes
ButtonKeyless drivingPollingYes
ButtonPlay fartPollingYes
ButtonWakePollingYes
ClimateCabin overheat protectionPolling1Yes
ClimateClimatePolling1Yes
CoverCharge port doorBothYes
CoverFrunkPollingYes
CoverTrunkPollingYes
CoverVent windowsPollingYes
Device trackerLocationBothYes
Device trackerRoutePollingYes
LockCharge cable lockBothYes
LockLockBothYes
LockSpeed limitBothYes
Media playerMedia PlayerPollingYes
NumberCharge currentBothYes
NumberCharge limitBothYes
NumberSpeed limitBothYes
SelectSeat heater front leftBothYes
SelectSeat heater front rightBothYes
SelectSeat heater rear centerBothNo
SelectSeat heater rear leftBothNo
SelectSeat heater rear rightBothNo
SelectSeat heater third row leftPollingNo
SelectSeat heater third row rightPollingNo
SelectSteering wheel heaterPollingYes
SensorBMSStateStreamingNo
SensorBattery levelBothYes
SensorBattery rangePollingYes
SensorBrakePedalPosStreamingNo
SensorBrickVoltageMaxStreamingNo
SensorBrickVoltageMinStreamingNo
SensorCarTypeStreamingNo
SensorCharge cablePollingNo
SensorCharge energy addedBothYes
SensorCharge ratePollingYes
SensorChargeCurrentRequestMaxStreamingNo
SensorChargePortStreamingNo
SensorCharger currentBothYes
SensorCharger powerBothYes
SensorCharger voltagePollingYes
SensorChargingBothYes
SensorCruiseFollowDistanceStreamingNo
SensorCruiseSetSpeedStreamingNo
SensorDCChargingEnergyInStreamingNo
SensorDCChargingPowerStreamingNo
SensorDCDCEnableStreamingNo
SensorDestinationLocationStreamingNo
SensorDiAxleSpeedFStreamingNo
SensorDiAxleSpeedRELStreamingNo
SensorDiAxleSpeedRERStreamingNo
SensorDiAxleSpeedRStreamingNo
SensorDiHeatsinkTFStreamingNo
SensorDiHeatsinkTRELStreamingNo
SensorDiHeatsinkTRERStreamingNo
SensorDiHeatsinkTRStreamingNo
SensorDiMotorCurrentFStreamingNo
SensorDiMotorCurrentRELStreamingNo
SensorDiMotorCurrentRERStreamingNo
SensorDiMotorCurrentRStreamingNo
SensorDiSlaveTorqueCmdStreamingNo
SensorDiStateFStreamingNo
SensorDiStateRELStreamingNo
SensorDiStateRERStreamingNo
SensorDiStateRStreamingNo
SensorDiStatorTempFStreamingNo
SensorDiStatorTempRELStreamingNo
SensorDiStatorTempRERStreamingNo
SensorDiStatorTempRStreamingNo
SensorDiTorqueActualFStreamingNo
SensorDiTorqueActualRELStreamingNo
SensorDiTorqueActualRERStreamingNo
SensorDiTorqueActualRStreamingNo
SensorDiTorquemotorStreamingNo
SensorDiVBatFStreamingNo
SensorDiVBatRELStreamingNo
SensorDiVBatRERStreamingNo
SensorDiVBatRStreamingNo
SensorDistance to arrivalBothYes
SensorDoorStateStreamingNo
SensorDriveRailStreamingNo
SensorDriver temperature settingPollingNo
SensorDriverSeatBeltStreamingNo
SensorDriverSeatOccupiedStreamingNo
SensorEmergencyLaneDepartureAvoidanceStreamingNo
SensorEnergyRemainingStreamingNo
SensorEstimate battery rangeBothNo
SensorExterior colorBothNo
SensorFast charger typePollingNo
SensorFastChargerPresentStreamingNo
SensorForwardCollisionWarningStreamingNo
SensorGpsHeadingStreamingNo
SensorGpsStateStreamingNo
SensorGuestModeEnabledStreamingNo
SensorGuestModeMobileAccessStateStreamingNo
SensorHvilStreamingNo
SensorIdeal battery rangeBothNo
SensorInside temperatureBothYes
SensorIsolationResistanceStreamingNo
SensorLaneDepartureAvoidanceStreamingNo
SensorLateralAccelerationStreamingNo
SensorLifetimeEnergyGainedRegenStreamingNo
SensorLifetimeEnergyUsedDriveStreamingNo
SensorLifetimeEnergyUsedStreamingNo
SensorLongitudinalAccelerationStreamingNo
SensorModuleTempMaxStreamingNo
SensorModuleTempMinStreamingNo
SensorNotEnoughPowerToHeatStreamingNo
SensorNumBrickVoltageMaxStreamingNo
SensorNumBrickVoltageMinStreamingNo
SensorNumModuleTempMaxStreamingNo
SensorNumModuleTempMinStreamingNo
SensorOdometerBothNo
SensorOriginLocationStreamingNo
SensorOutside temperatureBothYes
SensorPackCurrentStreamingNo
SensorPackVoltageStreamingNo
SensorPairedPhoneKeyAndKeyFobQtyStreamingNo
SensorPassenger temperature settingPollingNo
SensorPassengerSeatBeltStreamingNo
SensorPedalPositionStreamingNo
SensorPinToDriveEnabledStreamingNo
SensorPowerPollingNo
SensorRatedRangeStreamingNo
SensorRoof colorBothNo
SensorRouteLastUpdatedStreamingNo
SensorRouteLineStreamingNo
SensorScheduled charging modeBothNo
SensorScheduled charging start timeBothNo
SensorScheduled departure timeBothNo
SensorShift stateBothNo
SensorSocStreamingNo
SensorSpeedLimitWarningStreamingNo
SensorSpeedBothNo
SensorState of charge at arrivalPollingNo
SensorSuperchargerSessionTripPlannerStreamingNo
SensorTime at arrivalPollingYes
SensorTime at full chargePollingYes
SensorTime to arrivalBothYes
SensorTime to arrivalBothYes
SensorTime to full chargeBothYes
SensorTime to full chargeBothYes
SensorTire pressure front leftBothNo
SensorTire pressure front rightBothNo
SensorTire pressure last measured front leftBothNo
SensorTire pressure last measured front rightBothNo
SensorTire pressure last measured rear leftBothNo
SensorTire pressure last measured rear rightBothNo
SensorTire pressure rear leftBothNo
SensorTire pressure rear rightBothNo
SensorTraffic delayPollingNo
SensorTrimStreamingNo
SensorUsable Battery levelPollingNo
SensorVehicleNameStreamingNo
SensorVersionStreamingNo
SwitchAuto seat climate leftBothYes
SwitchAuto seat climate rightBothYes
SwitchAuto steering wheel heaterPollingYes
SwitchChargePollingYes
SwitchDefrostPollingYes
SwitchSentry modeBothYes
SwitchValet modePollingYes
UpdateUpdateBoth2Yes

1 Only Inside temperature attribute is streamable. 2 Only Version attribute is streamable

Energy sites

DomainNameMethodEnabled
Binary sensorBackup capablePollingYes
Binary sensorGrid services activePollingYes
Binary sensorGrid services enabledPollingYes
CalendarTariff schedule (buy)PollingYes
CalendarTariff schedule (sell)PollingYes
NumberBackup reservePollingYes
NumberOff grid reservePollingYes
SensorBattery powerPollingYes
SensorEnergy leftPollingYes
SensorGenerator powerPollingNo
SensorGrid powerPollingYes
SensorGrid services powerPollingYes
SensorIsland statusPollingYes
SensorLoad powerPollingYes
SensorPercentage chargedPollingYes
SensorSolar powerPollingYes
SensorTotal pack energyPollingNo
SensorVPP backup reservePollingYes
SensorVersionPollingYes
SelectAllow exportPollingYes
SelectOperation modePollingYes
SwitchAllow charging from gridPollingYes
SwitchStorm modePollingYes

Wall connector

DomainNameMethodEnabled
SensorFault statePollingNo
SensorPowerPollingYes
SensorStatePollingYes
SensorVehiclePollingYes

Services

These are most of the actions available in the Teslemetry integration. The full, authoritative list is always documented inside Home Assistant itself, so its recommended you start with the services developer tool (developer-tools/service) to correctly format your service calls.

teslemetry.navigation_gps_request

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
gpsDictionary of coordinates
gps.latitudeLatitude in degrees-27.9699373
gps.longitudeLongitude in degrees153.4081865
orderOrder for this destination1

Set scheduled charging

teslemetry.set_scheduled_charging

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
enableEnable or disable scheduled charging.true
timeTime to start charging in HH:MM6:00

Set scheduled departure

teslemetry.set_scheduled_departure

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
enableEnable or disable scheduled departuretrue
preconditioning_enabledEnable preconditioningtrue
preconditioning_weekdays_onlyEnable preconditioning on weekdays onlyfalse
departure_timeTime to precondition by (HH:MM)6:00
off_peak_charging_enabledEnable off peak chargingfalse
off_peak_charging_weekdays_onlyEnable off peak charging on weekdays onlyfalse
end_off_peak_timeTime to complete charging by (HH:MM)5:00

Valet Mode

teslemetry.valet_mode

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
enableEnable or disable valet modetrue
pin4 digit pin1234

Speed Limit

teslemetry.speed_limit

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
enableEnable or disable speed limittrue
pin4 digit pin1234

Time of use

teslemetry.time_of_use

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
tou_settingsTime of use settingsSee https://developer.tesla.com/docs/fleet-api#time_of_use_settings for details

Add/remove charge schedule

teslemetry.add_charge_schedule and teslemetry.remove_charge_schedule manage individual entries in your vehicle's charge schedule (the same schedules surfaced by the Fleet API's ADD_CHARGE_SCHEDULE/REMOVE_CHARGE_SCHEDULE commands).

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
days_of_weekDays this schedule applies to (add only)monday, tuesday
enableEnable or disable this schedule entry (add only)true
locationDictionary of coordinates the schedule applies at (add only)
start_timeStart time HH:MM (add only)23:00
end_timeEnd time HH:MM (add only)6:00
one_timeWhether this is a one-time schedule (add only)false
idID of an existing schedule to update/remove1
nameName for this schedule entry (add only)Off-peak

Add/remove precondition schedule

teslemetry.add_precondition_schedule and teslemetry.remove_precondition_schedule manage individual entries in your vehicle's cabin preconditioning schedule.

FieldDescriptionExample
device_idThe vehicles device_id0d462c0c4c0b064b1a91cdbd1ffcbd31
days_of_weekDays this schedule applies to (add only)monday, tuesday
enableEnable or disable this schedule entry (add only)true
locationDictionary of coordinates the schedule applies at (add only)
precondition_timeTime to be preconditioned by, HH:MM (add only)7:30
one_timeWhether this is a one-time schedule (add only)false
idID of an existing schedule to update/remove1
nameName for this schedule entry (add only)Morning commute

Diagnostics

To inspect the raw data the integration holds for your vehicles and energy sites, use Home Assistant's built-in download diagnostics option on the Teslemetry integration entry, rather than the vehicle/energy-site data or streaming alert events an older version of this page described - those are no longer emitted on the event bus.