mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
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:
parent
79407140e1
commit
c8fafbba06
@ -26,6 +26,8 @@ To enable Raspberry Pi Garage doors in your installation, add the following to y
|
||||
# Example configuration.yaml entry
|
||||
garage_door:
|
||||
platform: rpi_gpio
|
||||
state_pull_mode: DOWN
|
||||
relay_time: 1
|
||||
doors:
|
||||
- relay_pin: 10
|
||||
state_pin: 11
|
||||
@ -41,4 +43,6 @@ Configuration variables:
|
||||
- **name** (*Optional*): Name to use in the Frontend.
|
||||
- **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_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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user