From 14d2e08c3ff21d2a88b773238a7943c6f60548d8 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Thu, 26 Sep 2019 11:26:04 -0500 Subject: [PATCH] Remove credentials That's what I get for pushing right before bed. I anticipated this luckily so that was a temp password (normally use a password manager) If you don't already use a password manager, please look into it, keepass is a great start, free and open source --- custom_components/badnest/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/badnest/api.py b/custom_components/badnest/api.py index c44fb2f..ef0e0f0 100644 --- a/custom_components/badnest/api.py +++ b/custom_components/badnest/api.py @@ -33,7 +33,7 @@ class NestAPI(): self._login(email, password) self.update() - def _login(self, email = 'jacob.a.mcswain@gmail.com', password = 'ttlshiwwyaJ@'): + def _login(self, email, password): r = requests.post(f'{API_URL}/session', json={ 'email': email, 'password': password