From a6fe8f7ceeeac87d91317f2a4390d5194af37b42 Mon Sep 17 00:00:00 2001 From: TheJulianJES Date: Mon, 29 Dec 2025 03:23:55 +0100 Subject: [PATCH] Use `_concurrent_requests_semaphore.max_concurrency` --- zha/application/gateway.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zha/application/gateway.py b/zha/application/gateway.py index 79984b032..d6bff81a8 100644 --- a/zha/application/gateway.py +++ b/zha/application/gateway.py @@ -348,7 +348,9 @@ def load_groups(self) -> None: @property def radio_concurrency(self) -> int: """Maximum configured radio concurrency.""" - return self.application_controller._concurrent_requests_semaphore.max_value # pylint: disable=protected-access + return ( + self.application_controller._concurrent_requests_semaphore.max_concurrency + ) # pylint: disable=protected-access async def async_fetch_updated_state_mains(self) -> None: """Fetch updated state for mains powered devices."""