Skip to content

Commit 619a2c3

Browse files
ziotibia81fabaff
authored andcommitted
Modbus binary sensor scan_interval clarify. (home-assistant#3585)
Alignment documentation along the same lines as modbus sensor.
1 parent 92e9877 commit 619a2c3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/_components/binary_sensor.modbus.markdown

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,22 @@ Configuration variables:
3636
- **name** (*Required*): Name of the sensor.
3737
- **slave** (*Required*): The number of the slave (Optional for TCP and UDP Modbus).
3838
- **coil** (*Required*): Coil number.
39+
40+
It's possible to change the default 30 seconds scan interval for the sensor updates as shown in the [Platform options](/docs/configuration/platform_options/#scan-interval) documentation.
41+
42+
### {% linkable_title Full example %}
43+
44+
Example a sensor with a 10 seconds scan interval:
45+
46+
```yaml
47+
binary_sensor:
48+
- platform: modbus
49+
scan_interval: 10
50+
coils:
51+
- name: Sensor1
52+
slave: 1
53+
coil: 100
54+
- name: Sensor2
55+
slave: 1
56+
coil: 110
57+
```

0 commit comments

Comments
 (0)