Add new configuration variable

This commit is contained in:
Fabian Affolter 2015-10-18 00:43:40 +02:00
parent f07544fdf7
commit ad958adf80

View File

@ -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.