From 9bd66b9cfa7a20bf04495554a4df3e6581496f7c Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Fri, 24 Jan 2020 00:21:58 -0800 Subject: [PATCH] refactor: change logging to vin --- teslajsonpy/controller.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teslajsonpy/controller.py b/teslajsonpy/controller.py index 0c618584..d7f4a736 100644 --- a/teslajsonpy/controller.py +++ b/teslajsonpy/controller.py @@ -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):