Skip to content

Commit c3c4ea4

Browse files
committed
no-mistakes(document): docs(agents): fix stale add_managed_charging_site API description
1 parent d46c399 commit c3c4ea4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,12 @@ reader (`bluetooth.py`) and is not allowlisted with a reason — keep that test
216216
sync with a `tesla-protocol` bump rather than special-casing new fields. Naming:
217217
`legacy_vehicle_state()` (`bluetooth.py`) reads CarServer's `GetVehicleState`
218218
sub-state; `vehicle_state()` is the VCSEC `VehicleStatus`, a different
219-
message/domain. `set_rate_tariff`/`add_managed_charging_site` take
220-
`tesla_protocol` message types directly rather than a parallel flattened API.
219+
message/domain. `set_rate_tariff` takes `tesla_protocol` message types directly
220+
rather than a parallel flattened API. `add_managed_charging_site` takes a
221+
flattened `(public_key, din, lat, lon)` API; `public_key` must already be
222+
converted from DER to a raw EC point (the Fleet API route does that
223+
conversion server-side, this one does not), and `din` is the gateway's DIN
224+
the vehicle uses to match the registration to the site controller.
221225

222226
## Code Style
223227

0 commit comments

Comments
 (0)