mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
parent
447eb4f2cc
commit
6a2d66441a
@ -25,7 +25,7 @@ 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
|
||||||
```
|
```
|
||||||
@ -33,7 +33,7 @@ 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>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user