Run pyupgrade on homekit config_flow (#53180)

- The original PR was run though the CI before the new pyupgrade
This commit is contained in:
J. Nick Koston 2021-07-18 23:33:08 -10:00 committed by GitHub
parent bf0b19b05e
commit f51cb110d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {