From 3034cc8bcb334aac0de6d97a9130c75a78a2d846 Mon Sep 17 00:00:00 2001 From: Zach Varberg Date: Tue, 15 Nov 2016 13:23:57 -0600 Subject: [PATCH] Revert "Do not delete all binding table entries" This reverts commit 65bb10d6d6424660874707a61be8c1d9a05ff8f1. --- .../zigbee-white-color-temperature-bulb.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicetypes/smartthings/zigbee-white-color-temperature-bulb.src/zigbee-white-color-temperature-bulb.groovy b/devicetypes/smartthings/zigbee-white-color-temperature-bulb.src/zigbee-white-color-temperature-bulb.groovy index 1a7afb9..d35ec61 100644 --- a/devicetypes/smartthings/zigbee-white-color-temperature-bulb.src/zigbee-white-color-temperature-bulb.groovy +++ b/devicetypes/smartthings/zigbee-white-color-temperature-bulb.src/zigbee-white-color-temperature-bulb.groovy @@ -88,7 +88,7 @@ def parse(String description) { List cmds = [] bindingTable.table_entries.inject(cmds) { acc, entry -> // The binding entry is not for our hub and should be deleted - if (entry["dstAddr"] != zigbee.zigbeeEui) { + if (entry["dstAddr"] != zigbeeEui) { acc.addAll(removeBinding(entry.clusterId, entry.srcAddr, entry.srcEndpoint, entry.dstAddr, entry.dstEndpoint)) } acc