Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jun 22, 2024
1 parent ef7b2a5 commit c126274
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
8 changes: 4 additions & 4 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
Expand Up @@ -37,6 +37,6 @@
"typescript": "^5.4.5"
},
"dependencies": {
"tesla-fleet-api": "^0.1.1"
"tesla-fleet-api": "^0.1.2"
}
}
6 changes: 0 additions & 6 deletions src/vehicle-services/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ export abstract class BaseService {

name = parent.platform.config.prefixName ? `${this.parent.accessory.displayName} ${name}` : name;

if (this.accessory.getServiceById(definition, subtype)) {
this.log.info(`Restoring service ${name}`);
} else {
this.log.info(`Creating service ${name}`);
}

this.service =
this.accessory.getServiceById(definition, subtype) ||
this.accessory.addService(definition, name, subtype);
Expand Down
1 change: 0 additions & 1 deletion src/vehicle-services/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export class SentryService extends BaseService {
.getCharacteristic(this.parent.platform.Characteristic.SecuritySystemTargetState)
.onSet(async (value) => {
value = value === 3 ? 3 : 1;
console.log(value);
target.updateValue(value);
await this.parent.wakeUpAndWait()
.then(() => this.vehicle.set_sentry_mode(value !== 3))
Expand Down

0 comments on commit c126274

Please sign in to comment.