File tree 1 file changed +26
-8
lines changed
1 file changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,29 @@ binary_sensor:
32
32
settle_time : 50
33
33
` ` `
34
34
35
- Configuration variables:
36
-
37
- - **ports** array (*Required*): Array of used ports.
38
- - **num** (*Required*): Port number.
39
- - **name** (*Required*): Port name.
40
- - **settle_time** (*Optional*): The time in milliseconds for port debouncing. Default is 2 0ms.
41
- - **invert_logic** (*Optional*): If true, inverts the output logic to ACTIVE LOW. Default is false (ACTIVE HIGH).
42
-
35
+ {% configuration %}
36
+ ports:
37
+ description: List of used ports.
38
+ required: true
39
+ type: map
40
+ keys:
41
+ num:
42
+ description: The port number.
43
+ required: true
44
+ type: map
45
+ keys:
46
+ name:
47
+ description: The port name.
48
+ required: true
49
+ type: string
50
+ settle_time:
51
+ description: The time in milliseconds for port debouncing.
52
+ required: false
53
+ type: integer
54
+ default: 20
55
+ invert_logic:
56
+ description: If ` true`, inverts the output logic to ACTIVE LOW.
57
+ required : false
58
+ type : boolean
59
+ default : " `false` (ACTIVE HIGH)"
60
+ {% endconfiguration %}
You can’t perform that action at this time.
0 commit comments