From 58bd677832c393f4a12cd8d69029805a7174c876 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 26 Aug 2020 21:16:38 +0000 Subject: [PATCH] fix ensure_access_token --- supervisor/api/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/api/proxy.py b/supervisor/api/proxy.py index 80ee712ed..1cd4a57c3 100644 --- a/supervisor/api/proxy.py +++ b/supervisor/api/proxy.py @@ -128,7 +128,7 @@ class APIProxy(CoreSysAttributes): raise APIError() # Auth session - await self.sys_homeassistant.ensure_access_token() + await self.sys_homeassistant.api.ensure_access_token() await client.send_json( { "type": "auth",