fix ensure_access_token

This commit is contained in:
Pascal Vizeli 2020-08-26 21:16:38 +00:00
parent 1a3b369dd7
commit 58bd677832

View File

@ -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",