homebridge-fordpass
Advanced tools
Comparing version 1.8.0 to 1.8.1-test.0
@@ -74,3 +74,5 @@ "use strict"; | ||
catch (error) { | ||
this.log.error(`Status failed with error: ${error.code || error.response.status}`); | ||
if (error.code !== 'ETIMEDOUT') { | ||
this.log.error(`Status failed with error: ${error.code || error.response.status}`); | ||
} | ||
} | ||
@@ -77,0 +79,0 @@ finally { |
@@ -265,5 +265,8 @@ "use strict"; | ||
const status = yield vehicle.status(); | ||
if (!status) { | ||
return; | ||
} | ||
this.log.debug(`Updating info for ${vehicle.name}`); | ||
this.log.debug(`Vehicle Status : ${JSON.stringify(status, null, 2)}`); | ||
const lockStatus = status === null || status === void 0 ? void 0 : status.lockStatus.value; | ||
const lockStatus = status.lockStatus.value; | ||
let lockNumber = hap.Characteristic.LockCurrentState.UNSECURED; | ||
@@ -273,3 +276,3 @@ if (lockStatus === 'LOCKED') { | ||
} | ||
const engineStatus = (status === null || status === void 0 ? void 0 : status.remoteStartStatus.value) || 0; | ||
const engineStatus = status.remoteStartStatus.value || 0; | ||
let started = false; | ||
@@ -276,0 +279,0 @@ if (engineStatus > 0) { |
{ | ||
"displayName": "Homebridge FordPass", | ||
"name": "homebridge-fordpass", | ||
"version": "1.8.0", | ||
"version": "1.8.1-test.0", | ||
"description": "Fordpass plugin for homebridge: https://homebridge.io/", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112634
937
2