Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import teslajson
- user = "your_tesla_login@email.com"
- password = "your_tesla_email"
- c = teslajson.Connection(user, password)
- for vehicle in c.vehicles:
- print( "{} has the following options enabled: ".format(vehicle["display_name"]))
- for option in vehicle["option_codes"].split(","):
- print(option)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement