Skip to content

Commit

Permalink
Update zbDeviceEvent.js
Browse files Browse the repository at this point in the history
lint
  • Loading branch information
asgothian committed Jan 10, 2025
1 parent 245404d commit 9adebc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zbDeviceEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DeviceEvent extends BaseExtension {

if (mappedDevice && mappedDevice.onEvent) {
try {
mappedDevice.onEvent(type, data, device,mappedDevice.options,'{}');
mappedDevice.onEvent(type, data, device,mappedDevice.options,'{}');
}
catch (error) {
this.log.error(`onEvent for ${JSON.stringify(device)} failed with error ${error.message}`);
Expand Down

0 comments on commit 9adebc5

Please sign in to comment.