From 071e5dd484ebeb4c3836b47512b355676ca69066 Mon Sep 17 00:00:00 2001 From: damarco Date: Wed, 20 Feb 2019 01:06:14 +0100 Subject: [PATCH] Add broadcast placeholder (#16) Add broadcast placeholder so that we do not throw an exception. --- zigpy_deconz/zigbee/application.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zigpy_deconz/zigbee/application.py b/zigpy_deconz/zigbee/application.py index 7a77c55..457f7cb 100644 --- a/zigpy_deconz/zigbee/application.py +++ b/zigpy_deconz/zigbee/application.py @@ -193,3 +193,7 @@ def handle_tx_confirm(self, sequence, status): LOGGER.warning("Unexpected transmit confirm for request id %s, Status: 0x%02x, %s", sequence, status, exc) except asyncio.futures.InvalidStateError as exc: LOGGER.debug("Invalid state on future - probably duplicate response: %s", exc) + + async def broadcast(self, profile, cluster, src_ep, dst_ep, grpid, radius, + sequence, data, broadcast_address): + LOGGER.debug("Broadcast not implemented.")