rfLink discovery issues

Hi,
I have soldered up an rfLink gateway, which seems to be seeing my devices OK. However, I am running into trouble adding them to home assistant:

configuration.yaml:

rflink:
  port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_55736323239351311150-if00

light:
  - platform: rflink
    automatic_add: true
sensor:
  - platform: rflink
    automatic_add: true

logs

2020-03-06 19:40:26 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev3_0097_hum', 'sensor': 'humidity', 'value': 65, 'unit': '%'}
2020-03-06 19:40:26 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-03-06 19:40:26 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled

The last line seems to be why I can’t see any devices…but I am unclear at the moment as to why discovery is disabled…

Your config seem good to me.
Do you have any error during startup?
Have you validated the configuration?
The sensor and light definition must be uniques in the file.

Ah - thanks! I couldn’t see errors in the logs, but on checking, I did have two “sensor” sections. Merging them fixed the problem!