From 3e9de98f19960d5afa9de113a4d08baadd66bc12 Mon Sep 17 00:00:00 2001 From: Klaas Hoekema Date: Fri, 21 Apr 2017 12:01:31 -0400 Subject: [PATCH] Document new token auth option for Hook switch (#2378) * Document new token auth option for Hook switch * Update switch.hook.markdown --- source/_components/switch.hook.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_components/switch.hook.markdown b/source/_components/switch.hook.markdown index 635e234940b..0550cadb089 100644 --- a/source/_components/switch.hook.markdown +++ b/source/_components/switch.hook.markdown @@ -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: password: !secret hook ``` +Or +```yaml +# Example configuration.yaml entry +- platform: hook + token: +``` Extra debug logging is available, if you need it.