Skip to content

Commit 03dc152

Browse files
authored
Use the new zigpy packet priority attribute (#651)
* Use packet priority * Bump minimum zigpy version
1 parent 1a0b8a7 commit 03dc152

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bellows/zigbee/application.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ async def send_packet(self, packet: zigpy.types.ZigbeePacket) -> None:
741741
# Source routing uses address discovery to discover routes
742742
aps_frame.options |= t.EmberApsOption.APS_OPTION_ENABLE_ADDRESS_DISCOVERY
743743

744-
async with self._limit_concurrency():
744+
async with self._limit_concurrency(priority=packet.priority):
745745
message_tag = self.get_sequence()
746746
pending_tag = (packet.dst.address, message_tag)
747747
with self._pending.new(pending_tag) as req:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
"click-log>=0.2.1",
1919
"pure_pcapy3==1.0.1",
2020
"voluptuous",
21-
"zigpy>=0.65.3",
21+
"zigpy>=0.68.0",
2222
'async-timeout; python_version<"3.11"',
2323
]
2424

0 commit comments

Comments
 (0)