From 65cadfdeb8f222e86729ba716d686dd32c2e46c6 Mon Sep 17 00:00:00 2001 From: Sergey Isachenko Date: Thu, 14 Sep 2017 16:31:50 +0300 Subject: [PATCH] Typo fix. Remove debug import. --- teslajsonpy/Charger.py | 2 +- teslajsonpy/controller.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/teslajsonpy/Charger.py b/teslajsonpy/Charger.py index b72614b3..bce5b8f3 100644 --- a/teslajsonpy/Charger.py +++ b/teslajsonpy/Charger.py @@ -18,7 +18,7 @@ def __init__(self, data, controller): str(self.__vin[3]).upper(), self.type) self.uniq_name = 'Tesla model {} {} {}'.format( str(self.__vin[3]).upper(), self.__vin, self.type) - self.bin_type = 0x7 + self.bin_type = 0x8 self.update() diff --git a/teslajsonpy/controller.py b/teslajsonpy/controller.py index c2a4b298..975671bf 100644 --- a/teslajsonpy/controller.py +++ b/teslajsonpy/controller.py @@ -1,5 +1,4 @@ import time -import datetime from threading import RLock from teslajsonpy.connection import Connection