From 200c68f67f7927340af633106ca0ca46793f0ecc Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 23 Jul 2018 12:53:32 +0200 Subject: [PATCH] Fix proxy data passthrougth (#592) * Fix proxy data passthrougth * Update homeassistant.py --- hassio/homeassistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/homeassistant.py b/hassio/homeassistant.py index 588d45ca1..d7b34a762 100644 --- a/hassio/homeassistant.py +++ b/hassio/homeassistant.py @@ -393,7 +393,7 @@ class HomeAssistant(JsonConfig, CoreSysAttributes): headers[hdrs.AUTHORIZATION] = f'Bearer {self.access_token}' async with getattr(self.sys_websession_ssl, method)( - url, timeout=timeout, json=json, headers=headers + url, data=data, timeout=timeout, json=json, headers=headers ) as resp: # Access token expired if resp.status == 401 and self.refresh_token: