mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
parent
447eb4f2cc
commit
6a2d66441a
@ -25,16 +25,16 @@ Configure with either your username/password or your API token for the official
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
- platform: hook
|
||||
username: <email address>
|
||||
password: !secret hook
|
||||
- platform: hook
|
||||
username: <email address>
|
||||
password: !secret hook
|
||||
```
|
||||
Or
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
- platform: hook
|
||||
token: <your API token>
|
||||
- platform: hook
|
||||
token: <your API token>
|
||||
```
|
||||
|
||||
Extra debug logging is available, if you need it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user