Skip to content

Commit

Permalink
add log line indicating trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
steveredden committed Sep 30, 2021
1 parent 98d1f55 commit e20049c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/iCloudSound.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class iCloudSound {
.onSet(async (state) => {
this.debugLog(`Calling 'findiPhone(${this.config.username}, *redacted*, ${this.deviceName})`);
try{
this.log("Triggering 'Find My " + $this.deviceName + "'");
findiPhone(this.config.username, this.config.password, this.deviceName);
} catch(error) {
this.log("Error triggering " + this.deviceName);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-icloud",
"version": "1.0.1",
"version": "1.1.0",
"displayName": "Homebridge iCloud",
"description": "homebridge integration to create switches to initiate a \"Find my Device\" request",
"main": "index.js",
Expand Down

0 comments on commit e20049c

Please sign in to comment.