Skip to content

Commit aa26bbd

Browse files
authored
Support zigpy packet priority (#262)
* Support zigpy packet priority * Don't use Python 3.8 in CI
1 parent f909042 commit aa26bbd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
with:
1212
CODE_FOLDER: zigpy_deconz
1313
CACHE_VERSION: 2
14-
PYTHON_VERSION_DEFAULT: 3.8.14
1514
PRE_COMMIT_CACHE_PATH: ~/.cache/pre-commit
1615
MINIMUM_COVERAGE_PERCENTAGE: 97
1716
secrets:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ license = {text = "GPL-3.0"}
1515
requires-python = ">=3.8"
1616
dependencies = [
1717
"voluptuous",
18-
"zigpy>=0.65.3",
18+
"zigpy>=0.68.0",
1919
'async-timeout; python_version<"3.11"',
2020
]
2121

zigpy_deconz/zigbee/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ async def send_packet(self, packet):
499499
):
500500
tx_options |= t.DeconzTransmitOptions.USE_APS_ACKS
501501

502-
async with self._limit_concurrency():
502+
async with self._limit_concurrency(priority=packet.priority):
503503
req_id = self.get_sequence()
504504

505505
with self._pending.new(req_id) as req:

0 commit comments

Comments
 (0)