1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Enable Ruff B905 (#114197)

This commit is contained in:
Sid
2024-04-14 07:14:26 +02:00
committed by GitHub
parent b70edb89bf
commit 3799d20d43
46 changed files with 116 additions and 79 deletions

View File

@@ -610,7 +610,9 @@ class DynamicServiceIntentHandler(IntentHandler):
# Handle service calls in parallel, noting failures as they occur.
failed_results: list[IntentResponseTarget] = []
for state, service_coro in zip(states, asyncio.as_completed(service_coros)):
for state, service_coro in zip(
states, asyncio.as_completed(service_coros), strict=False
):
target = IntentResponseTarget(
type=IntentResponseTargetType.ENTITY,
name=state.name,