diff --git a/google_nest_sdm/google_nest.py b/google_nest_sdm/google_nest.py index 8b9aa6f7..a54d2ba6 100644 --- a/google_nest_sdm/google_nest.py +++ b/google_nest_sdm/google_nest.py @@ -233,11 +233,7 @@ async def async_handle_event(self, event_message: EventMessage): async def RunTool(args, user_creds: Credentials): """Run the command.""" - conn = TCPConnector( - family=socket.AF_INET, - verify_ssl=False, - ) - async with ClientSession(connector=conn) as client: + async with ClientSession() as client: auth = Auth(client, user_creds, API_URL) api = GoogleNestAPI(auth, args.project_id) diff --git a/setup.py b/setup.py index c280bf6f..d0396d2e 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ packages=['google_nest_sdm'], include_package_data=True, install_requires=[ - 'aiohttp>=3.6.2', + 'aiohttp>=3.7.3', 'google-auth>=1.22.0', 'google-auth-oauthlib>=0.4.1', 'google-cloud-pubsub>=2.1.0',