Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new token auth option for Hook switch #2378

Merged
merged 2 commits into from
Apr 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/_components/switch.hook.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@ In short, Hook is an RF to Wi-Fi bridge, controlling devices that recieve comman

Hook provides a simple [REST API](https://app.swaggerhub.com/api/rahilj/GetHook_RestAPI/v1). This Home Assistant component reads in devices that have been set up in the official app.

Configure with either your username/password or your API token for the official app.

```yaml
# Example configuration.yaml entry
- platform: hook
username: <email address>
password: !secret hook
```
Or
```yaml
# Example configuration.yaml entry
- platform: hook
token: <your API token>
```

Extra debug logging is available, if you need it.

Expand Down