RFXTRX - Error during setup of component rfxtrx

I am being challenged by the rfxtrx set up. I think its telling me the device is not being recognised but I cant see what I am doing wrong as I take the hardware details form the supervisor…

In configuration.yaml I have

>rfxtrx:
>   #device: /dev/ttyUSB0
>   device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO4IK17J-if00-port0
>   debug: true
>   automatic_add: true

But I get an error

> 2020-09-18 00:00:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component rfxtrx
> Traceback (most recent call last):
>   File "/usr/src/homeassistant/homeassistant/setup.py", line 191, in _async_setup_component
>     result = await task
>   File "/usr/src/homeassistant/homeassistant/components/rfxtrx/__init__.py", line 158, in async_setup
>     event.device, data_bits=event_config.get(CONF_DATA_BITS)
> AttributeError: 'NoneType' object has no attribute 'device''

Be grateful for anyone who can point out my boneheaded error

thanks

Nothing obvious…

Is this everything you have in your configuration.yaml? The error points to an invalid event code. Do you have a key devices you use?

after a reboot it seems to be working I can see devices and entities appearing and time to figure out how to configure

thank you!