Skip to content

Commit

Permalink
Pre close warning URL corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleBoyer committed Jul 13, 2024
1 parent 79373e0 commit cafc715
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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
Expand Up @@ -2,7 +2,7 @@
"private": false,
"displayName": "Konnected BlaQ",
"name": "homebridge-blaq",
"version": "0.2.4",
"version": "0.2.5",
"description": "Control and view your garage door(s) remotely with real-time updates using Konnected's BlaQ hardware",
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/accessory/garage-pre-close-warning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class BlaQGaragePreCloseWarningAccessory implements BaseBlaQAccessory {

private async changeIsOn(target: CharacteristicValue){
if(target && target !== this.isOn){ // only call the API when target = true (button on)
await fetch(`${this.apiBaseURL}/button/pre_close_warning/press`, {method: 'POST'});
await fetch(`${this.apiBaseURL}/button/pre-close_warning/press`, {method: 'POST'});
}
}

Expand Down

0 comments on commit cafc715

Please sign in to comment.