Tak, robiłem testy i tak to działa, przykład:
# Example configuration.yaml entry for a serial connection
modbus:
- name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyUSB0
stopbits: 2
binary_sensors:
- name: "MR-DIO-1 in1"
address: 4000
input_type: discrete_input
device_class: door
scan_interval: 1
slave: 70
Urządzenie MR-DIO-1 moduł wejść/wyjść z wyjściem MODBUS RTU. miało ustawiony adres sieciowy Modbus na 70.