From 894df1a081a78df4baa30aeb61d53a61a84faccd Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Sun, 23 Jul 2023 22:20:53 -0700 Subject: [PATCH] Fix `CreateController` client creation (#225) Fix an error introduced in previous retries PR. Fixes #224 --- pyrainbird/async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrainbird/async_client.py b/pyrainbird/async_client.py index a0649f8..d74de36 100644 --- a/pyrainbird/async_client.py +++ b/pyrainbird/async_client.py @@ -140,7 +140,7 @@ def CreateController( websession: aiohttp.ClientSession, host: str, password: str ) -> "AsyncRainbirdController": """Create an AsyncRainbirdController.""" - local_client = (AsyncRainbirdClient(websession, host, password),) + local_client = AsyncRainbirdClient(websession, host, password) cloud_client = AsyncRainbirdClient(websession, CLOUD_API_URL, None) return AsyncRainbirdController(local_client, cloud_client)