mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
Fix format
This commit is contained in:
parent
b1feacea84
commit
ef4250bea6
@ -14,6 +14,8 @@ The rest switch platform allows you to control a given endpoint that supports a
|
|||||||
|
|
||||||
To enable this switch, add the following lines to your `configuration.yaml` file:
|
To enable this switch, add the following lines to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: rest
|
platform: rest
|
||||||
resource: http://IP_ADDRESS/ENDPOINT
|
resource: http://IP_ADDRESS/ENDPOINT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user