From 251a1de80e1648992587993aca878e84a954c3f1 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:37:47 -0400 Subject: [PATCH] Always retry sends (#585) --- bellows/zigbee/application.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bellows/zigbee/application.py b/bellows/zigbee/application.py index a59b3194..668b05c7 100644 --- a/bellows/zigbee/application.py +++ b/bellows/zigbee/application.py @@ -775,9 +775,7 @@ async def send_packet(self, packet: zigpy.types.ZigbeePacket) -> None: aps_frame.sourceEndpoint = t.uint8_t(packet.src_ep) aps_frame.destinationEndpoint = t.uint8_t(packet.dst_ep or 0) aps_frame.options = t.EmberApsOption.APS_OPTION_NONE - - if zigpy.types.TransmitOptions.ACK in packet.tx_options: - aps_frame.options |= t.EmberApsOption.APS_OPTION_RETRY + aps_frame.options |= t.EmberApsOption.APS_OPTION_RETRY if packet.dst.addr_mode == zigpy.types.AddrMode.Group: aps_frame.groupId = t.uint16_t(packet.dst.address)