Skip to content

Commit

Permalink
wrong definition
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Nov 25, 2023
1 parent 1369de2 commit 23674c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zbDeviceConfigure.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class DeviceConfigure extends BaseExtension {
const coordinatorEndpoint = await this.zigbee.getDevicesByType('Coordinator')[0].endpoints[0];
try {
if (this.mappedDevice !== null && this.mappedDevice !== undefined) {
await this.mappedDevice.configure(device, coordinatorEndpoint, this);
await mappedDevice.configure(device, coordinatorEndpoint, this);
device.meta.configured = zigbeeHerdsmanConverters.getConfigureKey(mappedDevice);
device.save();
this.info(`DeviceConfigure successful ${device.ieeeAddr} ${device.modelID}`);
Expand Down

0 comments on commit 23674c2

Please sign in to comment.