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