From 9ab8f78b192bc47eb099b9d560029d422dfb6ce5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 26 Sep 2018 17:20:34 +0200 Subject: [PATCH] Don't pass use_env=True (#16896) --- homeassistant/helpers/aiohttp_client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/helpers/aiohttp_client.py b/homeassistant/helpers/aiohttp_client.py index 01cc074aa6a..53b246c700d 100644 --- a/homeassistant/helpers/aiohttp_client.py +++ b/homeassistant/helpers/aiohttp_client.py @@ -56,7 +56,6 @@ def async_create_clientsession(hass, verify_ssl=True, auto_cleanup=True, clientsession = aiohttp.ClientSession( loop=hass.loop, connector=connector, - trust_env=True, headers={USER_AGENT: SERVER_SOFTWARE}, **kwargs )