Skip to content

Commit

Permalink
Use correct address mode for broadcasts (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly authored Nov 27, 2021
1 parent 792a0cc commit fc6ff22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zigpy_deconz/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fc6ff22

Please sign in to comment.