diff --git a/lib/extension/deviceConfigure.js b/lib/extension/deviceConfigure.js index 5fd1f534..f8b1cf73 100644 --- a/lib/extension/deviceConfigure.js +++ b/lib/extension/deviceConfigure.js @@ -32,7 +32,7 @@ class DeviceConfigure extends BaseExtension { } async onZigbeeStarted() { - this.coordinatorEndpoint = this.zigbee.getDevicesByType('Coordinator')[0].endpoints[0]; + this.coordinatorEndpoint = this.zigbee.getDevicesByType('Coordinator')[0].getEndpoint(1); for (const device of this.zigbee.getClients()) { const mappedDevice = zigbeeHerdsmanConverters.findByZigbeeModel(device.modelID);