Skip to content

Commit

Permalink
Changed default force setting to true
Browse files Browse the repository at this point in the history
  • Loading branch information
smirko-dev committed Jul 8, 2022
1 parent 00c59f8 commit 4a0f251
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function loadSettings() {
url: "localhost",
port: "8123",
token: "",
force: false
force: true
};
}
}
Expand Down
2 changes: 1 addition & 1 deletion companion/HomeAssistantAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ HomeAssistantAPI.prototype.changeForce = function(force) {
self.force = force;
}
else {
self.force = false;
self.force = true;
}
}

Expand Down
1 change: 1 addition & 0 deletions companion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ flowchart TD;
Companion
```js
import { HomeAssistantAPI } from "./HomeAssistantAPI";

var HA = new HomeAssistantAPI();
HA.setup("127.0.0.1", "8123", "my_secret_access_token", false);
HA.fetchApiStatus();
Expand Down

0 comments on commit 4a0f251

Please sign in to comment.