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