Update full example for modbus binary_sensor (#13717)

Someone did a bit of a drive by on the doc discord yesterday pointing out that the _full_ example with `scan_interval` hadn't been updated to reflect changes from home-assistant/core#30004. The first example was updated but not this one. I've also tweaked it to more closely match the top example

The user haven't been back since to see they could of made the change, so here it is.
This commit is contained in:
Tom Brien 2020-06-11 10:58:10 +01:00 committed by GitHub
parent 77250a3a5e
commit a531c6a520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,13 +74,14 @@ Example a sensor with a 10 seconds scan interval:
binary_sensor:
- platform: modbus
scan_interval: 10
coils:
inputs:
- name: Sensor1
hub: hub1
slave: 1
coil: 100
address: 100
- name: Sensor2
hub: hub1
slave: 1
coil: 110
address: 110
input_type: discrete_input
```