mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Add new configuration variable
This commit is contained in:
parent
f07544fdf7
commit
ad958adf80
@ -19,9 +19,10 @@ To use your aREST enabled device in your installation, add the following to your
|
|||||||
switch:
|
switch:
|
||||||
platform: arest
|
platform: arest
|
||||||
resource: http://IP_ADDRESS
|
resource: http://IP_ADDRESS
|
||||||
|
name: Office
|
||||||
pins:
|
pins:
|
||||||
11:
|
11:
|
||||||
name: Fan Office
|
name: Fan
|
||||||
12:
|
12:
|
||||||
name: Light Desk
|
name: Light Desk
|
||||||
```
|
```
|
||||||
@ -29,6 +30,7 @@ switch:
|
|||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, eg. http://192.168.1.10.
|
- **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, eg. http://192.168.1.10.
|
||||||
|
- **name** (*Optional*): Let you overwrite the the name of the device. By default *name* from the device is used.
|
||||||
- **pins** (*Required*): An array with all used pins of your board.
|
- **pins** (*Required*): An array with all used pins of your board.
|
||||||
- **name** (*Required*): The name of the pin you wish to toggle.
|
- **name** (*Required*): The name of the pin you wish to toggle.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user