Skip to content

Commit

Permalink
Support zigpy packet priority
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 16, 2024
1 parent f909042 commit 5fc612d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = {text = "GPL-3.0"}
requires-python = ">=3.8"
dependencies = [
"voluptuous",
"zigpy>=0.65.3",
"zigpy>=0.68.0",
'async-timeout; python_version<"3.11"',
]

Expand Down
2 changes: 1 addition & 1 deletion zigpy_deconz/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ async def send_packet(self, packet):
):
tx_options |= t.DeconzTransmitOptions.USE_APS_ACKS

async with self._limit_concurrency():
async with self._limit_concurrency(priority=packet.priority):
req_id = self.get_sequence()

with self._pending.new(req_id) as req:
Expand Down

0 comments on commit 5fc612d

Please sign in to comment.