File tree 1 file changed +17
-5
lines changed 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,30 @@ Two type of pilight binary sensor configuration available. A normal sensor which
20
20
# Example configuration.yml entry
21
21
binary_sensor :
22
22
- platform : pilight
23
- name : ' Motion'
24
23
variable : ' state'
25
- payload :
26
- unitcode : 371399
27
- payload_on : ' closed'
28
- disarm_after_trigger : True <-- use this if you want trigger type behavior
29
24
` ` `
30
25
31
26
Configuration variables:
27
+
32
28
- **variable** (*Required*): The variable name in the data stream that defines the sensor value.
33
29
- **payload** (*Required*): Message payload identifiers. Only if all identifiers are matched the sensor value is set.
34
30
- **name** (*Optional*): Name of the sensor.
35
31
- **payload_on** (*Optional*): Variable ` on` value. The component will recognize this as logical '1'.
36
32
- **payload_off** (*Optional*): Variable `off` value. The component will recognize this as logical '0'.
37
33
- **disarm_after_trigger:** (*Optional*): Configure sensor as trigger type.
34
+ - **reset_delay_sec** (*Optional*): Seconds before the sensor is disarmed if `disarm_after_trigger` is set to true. Default is 30 seconds.
35
+
36
+ A full configuration example could look like this :
37
+
38
+ ` ` ` yaml
39
+ # Example configuration.yml entry
40
+ binary_sensor:
41
+ - platform: pilight
42
+ name: 'Motion'
43
+ variable: 'state'
44
+ payload:
45
+ unitcode: 371399
46
+ payload_on: 'closed'
47
+ disarm_after_trigger: True
48
+ reset_delay_sec: 30
49
+ ` ` `
You can’t perform that action at this time.
0 commit comments