Skip to content

Commit

Permalink
refactor: migrate to non-legacy update url
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Jan 31, 2020
1 parent a9e33c1 commit ac08435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teslajsonpy/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async def update(self, car_id=None, wake_if_asleep=False, force=False):
): # Only update cars with update flag on
try:
data = await self.get(
car_id, "data", wake_if_asleep=wake_if_asleep
car_id, "vehicle_data", wake_if_asleep=wake_if_asleep
)
except TeslaException:
data = None
Expand Down

0 comments on commit ac08435

Please sign in to comment.