Skip to content

Commit c8fafbb

Browse files
BluGeniballoob
authored andcommitted
adds docs for state_pull_mode and relay_time (home-assistant#803)
* adds docs for state_pull_mode and relay_time * added defaults for new vars * reordered config vars
1 parent 7940714 commit c8fafbb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_components/garage_door.rpi_gpio.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ To enable Raspberry Pi Garage doors in your installation, add the following to y
2626
# Example configuration.yaml entry
2727
garage_door:
2828
platform: rpi_gpio
29+
state_pull_mode: DOWN
30+
relay_time: 1
2931
doors:
3032
- relay_pin: 10
3133
state_pin: 11
@@ -41,4 +43,6 @@ Configuration variables:
4143
- **name** (*Optional*): Name to use in the Frontend.
4244
- **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected.
4345
- **state_pin** (*Required*): The pin of your Raspberry Pi to retrieve the state.
46+
- **state_pull_mode** (*Optional*): The direction the State pin is pulling. It can be UP or DOWN. Default is UP.
47+
- **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is .2 seconds.
4448

0 commit comments

Comments
 (0)