From f51cb110d33afadd16b0c9b68e2248c6297f7ba3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 18 Jul 2021 23:33:08 -1000 Subject: [PATCH] Run pyupgrade on homekit config_flow (#53180) - The original PR was run though the CI before the new pyupgrade --- homeassistant/components/homekit/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/homekit/config_flow.py b/homeassistant/components/homekit/config_flow.py index 907fdcf79bf..459bb050f65 100644 --- a/homeassistant/components/homekit/config_flow.py +++ b/homeassistant/components/homekit/config_flow.py @@ -115,7 +115,7 @@ _EMPTY_ENTITY_FILTER = { async def _async_name_to_type_map(hass: HomeAssistant) -> dict[str, str]: """Create a mapping of types of devices/entities HomeKit can support.""" integrations = await asyncio.gather( - *[async_get_integration(hass, domain) for domain in SUPPORTED_DOMAINS], + *(async_get_integration(hass, domain) for domain in SUPPORTED_DOMAINS), return_exceptions=True, ) name_to_type_map = {