I tried disconnecting the RFXTR USB device, restarting HA and rebooting my server, but error remains. It seems all my rfxtrx components still work however.
Here is the error from the logs:
2018-02-26 09:46:31 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up platform rfxtrx
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/binary_sensor/rfxtrx.py", line 58, in setup_platform
if entity[CONF_DATA_BITS] is not None:
KeyError: 'data_bits'