Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support zigpy packet priority #262

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
with:
CODE_FOLDER: zigpy_deconz
CACHE_VERSION: 2
PYTHON_VERSION_DEFAULT: 3.8.14
PRE_COMMIT_CACHE_PATH: ~/.cache/pre-commit
MINIMUM_COVERAGE_PERCENTAGE: 97
secrets:
Expand Down
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