I have two IR-Sensors.
the first i got integrated via EDL21 integration.
Is it possible to add the second one?
What do i have to add to the following code?
sensor:
- platform: edl21
serial_port: /dev/ttyUSB0
I have two IR-Sensors.
the first i got integrated via EDL21 integration.
Is it possible to add the second one?
What do i have to add to the following code?
sensor:
It should be enough to just add an extra set of lines under the section “sensor:” with just the other USB path.
I would suggest you add a name to it also to better differentiate them.
Something like this.
sensor:
- platform: edl21
serial_port: 7dev/ttyUSB0
name: sensor_0
- platform: edl21
serial_port: 7dev/ttyUSB1
name: sensor_1