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: