diff --git a/custom_components/badnest/api.py b/custom_components/badnest/api.py index 6695414..b3de704 100644 --- a/custom_components/badnest/api.py +++ b/custom_components/badnest/api.py @@ -109,7 +109,8 @@ class NestAPI(): try: r = self._session.get( f"{CAMERA_WEBAPI_BASE}/api/cameras." - + "get_owned_and_member_of_with_properties" + + "get_owned_and_member_of_with_properties", + headers={"Authorization": f"Basic {self._access_token}"}, ) for camera in r.json()["items"]: