From 5ed61890455914110e2f0cc64a067b399b7edf9d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 1 Nov 2024 08:52:39 -0500 Subject: [PATCH] little --- aiohomekit/controller/controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aiohomekit/controller/controller.py b/aiohomekit/controller/controller.py index 43c26cf1..84eb1d27 100644 --- a/aiohomekit/controller/controller.py +++ b/aiohomekit/controller/controller.py @@ -72,9 +72,9 @@ def __init__( self._tasks = AsyncExitStack() async def _async_register_backend(self, controller: AbstractController) -> None: - self.transports[controller.transport_type] = ( - await self._tasks.enter_async_context(controller) - ) + self.transports[ + controller.transport_type + ] = await self._tasks.enter_async_context(controller) async def async_start(self) -> None: if IP_TRANSPORT_SUPPORTED or self._async_zeroconf_instance: