@homebridge-wyze-node24/homebridge-wyze-node24 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -503,7 +503,7 @@ module.exports = class WyzeCamera extends WyzeAccessory {
|
|
|
503
503
|
this.plugin.log.error(
|
|
504
504
|
`[Camera Garage Door] Error setting target state for ${this.mac}: ${error.message}`
|
|
505
505
|
);
|
|
506
|
-
throw new this.api.hap.HapStatusError(this.api.hap.HAPStatus.SERVICE_COMMUNICATION_FAILURE);
|
|
506
|
+
throw new this.plugin.api.hap.HapStatusError(this.plugin.api.hap.HAPStatus.SERVICE_COMMUNICATION_FAILURE);
|
|
507
507
|
}
|
|
508
508
|
if (value == 0) {
|
|
509
509
|
this.garageDoorService
|