From 2fcd802912ad9f343aad4c8ba199bcf0f0582f9e Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 4 Nov 2020 10:22:11 +1000 Subject: [PATCH] fix variable mismatch --- custom_components/fordpass/fordpass_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/fordpass/fordpass_new.py b/custom_components/fordpass/fordpass_new.py index 0d4c951..fe34fac 100644 --- a/custom_components/fordpass/fordpass_new.py +++ b/custom_components/fordpass/fordpass_new.py @@ -88,7 +88,7 @@ def refreshToken(self, token): result["expiry_date"] = time.time() + result['expires_in'] self.writeToken(result) self.token = result['access_token'] - self.refreshToken = result["refresh_token"] + self.refresh_token = result["refresh_token"] self.expiresAt = time.time() + result['expires_in'] def __acquireToken(self):