Skip to content

Commit

Permalink
fix device def
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Jun 11, 2024
1 parent 015ed1d commit 53daaae
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 @@ -486,7 +486,7 @@ class Vesync extends utils.Adapter {
if (res.data.code != 0) {
this.log.error(status.url);
if (res.data.code === -11300030) {
this.log.info('Device ' + device.cid + ' is offline');
this.log.info('Device ' + status.url + ' is offline');
return;
}
this.log.error(JSON.stringify(res.data));
Expand Down

0 comments on commit 53daaae

Please sign in to comment.