diff --git a/lib/TWCManager/TWCSlave.py b/lib/TWCManager/TWCSlave.py index 4fa89797..4bf7930b 100644 --- a/lib/TWCManager/TWCSlave.py +++ b/lib/TWCManager/TWCSlave.py @@ -595,7 +595,7 @@ def receive_slave_heartbeat(self, heartbeatData): ' < 60 or self.reportedAmpsActual ' + str(self.reportedAmpsActual) + ' < 4') if(self.master.getMaxAmpsToDivideAmongSlaves() < 1): - desiredAmosOffered = 0 + desiredAmpsOffered = 0 else: desiredAmpsOffered = minAmpsToOffer else: diff --git a/lib/TWCManager/Vehicle/TeslaAPI.py b/lib/TWCManager/Vehicle/TeslaAPI.py index f70287b3..746965c6 100644 --- a/lib/TWCManager/Vehicle/TeslaAPI.py +++ b/lib/TWCManager/Vehicle/TeslaAPI.py @@ -19,7 +19,7 @@ class CarApi: # command a minute or less later. # 'vehicle unavailable:' sounds like it implies the car is out of connection # range, but I once saw it returned by drive_state after wake_up returned - # 'online'. In that case, the car is reacahble, but drive_state failed for some + # 'online'. In that case, the car is reachable, but drive_state failed for some # reason. Thus we consider it a transient error. # Error strings below need only match the start of an error response such as: # {'response': None, 'error_description': '',