Skip to content

Commit

Permalink
refactor: change logging to vin
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Jan 24, 2020
1 parent e3c7c17 commit 9bd66b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions teslajsonpy/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,9 @@ async def _wake_up(self, car_id):
) # avoid wrapper loop
self.car_online[car_vin] = result["response"]["state"] == "online"
self._last_wake_up_time[car_vin] = cur_time
_LOGGER.debug("Wakeup %s: %s", car_id, result["response"]["state"])
# self.__wakeup_conds[car_id].notify_all()
_LOGGER.debug(
"Wakeup %s: %s", car_vin[-5:], result["response"]["state"]
)
return self.car_online[car_vin]

async def update(self, car_id=None, wake_if_asleep=False, force=False):
Expand Down

0 comments on commit 9bd66b9

Please sign in to comment.