Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

Search results

  1. daradib

    Model S REST API

    If you use connection.vehicles() instead of connection.vehicle(), you will get a list of all the vehicle objects. if you have only a single vehicle, car = connection.vehicles()[0] would work. You could check that there is exactly one vehicle with len(connection.vehicles()) == 1.