Skip to content

Commit

Permalink
Merge pull request #259 from matthewstyler/main
Browse files Browse the repository at this point in the history
Remove breaking sleep and state reporting for garage door
  • Loading branch information
jfarmer08 authored Aug 7, 2024
2 parents e261b9e + f5137a3 commit d07ca0f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/accessories/WyzeCamera.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,6 @@ module.exports = class WyzeCamera extends WyzeAccessory {
);
}
this.garageDoor = property.value;
this.garageDoorService
.getCharacteristic(Characteristic.CurrentDoorState)
.updateValue(this.garageDoor);
}
break;
}
Expand Down Expand Up @@ -501,7 +498,6 @@ module.exports = class WyzeCamera extends WyzeAccessory {
`[Camera Garage Door] Setting Target State for ${this.mac} (${this.display_name}) to ${value}`
);
this.plugin.client.garageDoor(this.mac, this.product_model);
await this.sleep(1000);
if (value == 0) {
this.garageDoorService
.getCharacteristic(Characteristic.CurrentDoorState)
Expand Down

0 comments on commit d07ca0f

Please sign in to comment.