Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asgothian committed Jan 11, 2025
1 parent 67304dc commit 4f654a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ class Zigbee extends utils.Adapter {
for (const ckey of converter.key) {
t = new Date().getTime();
try {
await converter.convertGet(entity.device.endpoints[0], ckey, {});
await converter.convertGet(entity.device.endpoints[0], ckey, {endpoint_name:entity.device.endpoints[0].ID.toString()});
} catch (error) {
const delta = new Date().getTime()-t;
this.log.warn(`Failed to read state (1)'${JSON.stringify(ckey)}'of '${entity.device.ieeeAddr}/${entity.device.endpoints[0].ID} ' after ${delta} ms from query with '${error && error.message ? error.message : 'no error message'}('${error && error.stack ? error.stack : 'no call stack'})`);
Expand Down

0 comments on commit 4f654a3

Please sign in to comment.