From 883c0f1250c58a1989c0a925eded0d9688f3a07f Mon Sep 17 00:00:00 2001 From: mastermc0 Date: Thu, 16 Apr 2020 22:09:07 +0100 Subject: [PATCH] Final Update for Update_Camera Fix --- 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 770bf28..88c7776 100644 --- a/custom_components/badnest/api.py +++ b/custom_components/badnest/api.py @@ -191,7 +191,7 @@ class NestAPI(): 'User-Agent': USER_AGENT, 'X-Requested-With': 'XmlHttpRequest', 'Referer': 'https://home.nest.com/', - 'cookie': f"cztoken={self._access_token}" + 'cookie': f"user_token={self._access_token}" } r = self._session.get(url=f"{CAMERA_WEBAPI_BASE}/api/cameras.get_with_properties?uuid="+camera , headers=headers)