File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 36
36
Configuration variables:
37
37
38
38
- **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is 0.2 seconds.
39
+ - **invert_relay** (*Optional*): Invert the relay pin output so that it is active-high. Default is False (active-low).
39
40
- **state_pull_mode** (*Optional*): The direction the State pin is pulling. It can be UP or DOWN. Default is UP.
41
+ - **invert_state** (*Optional*): Invert the value of the State pin so that 0 means closed. Default is False.
40
42
- **covers** array (*Required*): List of your doors.
41
43
- **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected.
42
44
- **state_pin** (*Required*): The pin of your Raspberry Pi to retrieve the state.
@@ -49,7 +51,9 @@ Full example:
49
51
cover :
50
52
- platform : rpi_gpio
51
53
relay_time : 0.2
54
+ invert_relay : False
52
55
state_pull_mode : ' UP'
56
+ invert_state : True
53
57
covers :
54
58
- relay_pin : 10
55
59
state_pin : 11
You can’t perform that action at this time.
0 commit comments