From fc6ff2209e06c8ada717b4abed265317e084f33b Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Fri, 26 Nov 2021 22:37:35 -0500 Subject: [PATCH] Use correct address mode for broadcasts (#173) --- zigpy_deconz/zigbee/application.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zigpy_deconz/zigbee/application.py b/zigpy_deconz/zigbee/application.py index e87383e..2502f50 100644 --- a/zigpy_deconz/zigbee/application.py +++ b/zigpy_deconz/zigbee/application.py @@ -317,8 +317,9 @@ async def broadcast( binascii.hexlify(data), ) dst_addr_ep = t.DeconzAddressEndpoint() - dst_addr_ep.address_mode = t.uint8_t(t.ADDRESS_MODE.GROUP.value) + dst_addr_ep.address_mode = t.uint8_t(t.ADDRESS_MODE.NWK.value) dst_addr_ep.address = t.uint16_t(broadcast_address) + dst_addr_ep.endpoint = dst_ep with self._pending.new(req_id) as req: try: