Skip to content

Commit

Permalink
Use the new zigpy packet priority attribute (#651)
Browse files Browse the repository at this point in the history
* Use packet priority

* Bump minimum zigpy version
  • Loading branch information
puddly authored Oct 15, 2024
1 parent 1a0b8a7 commit 03dc152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bellows/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ async def send_packet(self, packet: zigpy.types.ZigbeePacket) -> None:
# Source routing uses address discovery to discover routes
aps_frame.options |= t.EmberApsOption.APS_OPTION_ENABLE_ADDRESS_DISCOVERY

async with self._limit_concurrency():
async with self._limit_concurrency(priority=packet.priority):
message_tag = self.get_sequence()
pending_tag = (packet.dst.address, message_tag)
with self._pending.new(pending_tag) as req:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"click-log>=0.2.1",
"pure_pcapy3==1.0.1",
"voluptuous",
"zigpy>=0.65.3",
"zigpy>=0.68.0",
'async-timeout; python_version<"3.11"',
]

Expand Down

0 comments on commit 03dc152

Please sign in to comment.