Skip to content

latitude and longitude are not in drive_state #147

@HansKappert

Description

@HansKappert

I ran
python3 menu.py

After logging in, this error is printed at the console:
File "/Users/Hans/Downloads/TeslaPy-master/menu.py", line 37, in show_vehicle_data coords = '%s, %s' % (dr['latitude'], dr['longitude']) KeyError: 'latitude'

in the response I see 'api_version': 67
This is all that is returned in drive_state:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions