This reverts commit 2365e2e8cf.
This commit is contained in:
1 parent
ceb3985a99
commit
7d8da47309
7 files changed
+6
-14
No files matched your search
@@ -9,7 +9,6 @@ from aiohttp import web
|
||||
from aiohttp.hdrs import CONTENT_TYPE, USER_AGENT
|
||||
from aiohttp.web_exceptions import HTTPBadGateway, HTTPGatewayTimeout
|
||||
import async_timeout
|
||||
import orjson
|
||||
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_CLOSE, __version__
|
||||
from homeassistant.core import Event, callback
|
||||
@@ -68,7 +67,6 @@ def async_create_clientsession(
|
||||
loop=hass.loop,
|
||||
connector=connector,
|
||||
headers={USER_AGENT: SERVER_SOFTWARE},
|
||||
json_serialize=lambda x: orjson.dumps(x).decode(),
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user