adds docs for state_pull_mode and relay_time (#803)

* adds docs for state_pull_mode and relay_time

* added defaults for new vars

* reordered config vars
This commit is contained in:
Carter 2016-08-24 01:29:08 -05:00 committed by Paulus Schoutsen
parent 79407140e1
commit c8fafbba06

View File

@ -26,6 +26,8 @@ To enable Raspberry Pi Garage doors in your installation, add the following to y
# Example configuration.yaml entry # Example configuration.yaml entry
garage_door: garage_door:
platform: rpi_gpio platform: rpi_gpio
state_pull_mode: DOWN
relay_time: 1
doors: doors:
- relay_pin: 10 - relay_pin: 10
state_pin: 11 state_pin: 11
@ -41,4 +43,6 @@ Configuration variables:
- **name** (*Optional*): Name to use in the Frontend. - **name** (*Optional*): Name to use in the Frontend.
- **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected. - **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected.
- **state_pin** (*Required*): The pin of your Raspberry Pi to retrieve the state. - **state_pin** (*Required*): The pin of your Raspberry Pi to retrieve the state.
- **state_pull_mode** (*Optional*): The direction the State pin is pulling. It can be UP or DOWN. Default is UP.
- **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is .2 seconds.