diff --git a/lib/zbDeviceConfigure.js b/lib/zbDeviceConfigure.js index 2c4a2f0a..b2198753 100755 --- a/lib/zbDeviceConfigure.js +++ b/lib/zbDeviceConfigure.js @@ -133,7 +133,7 @@ class DeviceConfigure extends BaseExtension { this.info(`Configuring ${device.ieeeAddr} ${device.modelID}`); const coordinatorEndpoint = await this.zigbee.getDevicesByType('Coordinator')[0].endpoints[0]; try { - await mappedDevice.configure(device, coordinatorEndpoint, this); + await this.mappedDevice.configure(device, coordinatorEndpoint, this); device.meta.configured = zigbeeHerdsmanConverters.getConfigureKey(mappedDevice); device.save(); this.info(`DeviceConfigure successful ${device.ieeeAddr} ${device.modelID}`);