'Test configuration.'

def test_default_config(self):

    self.assertTrue(setup_component(self.hass, 'rfxtrx', {'rfxtrx': {'device': ('/dev/serial/by-id/usb' + '-RFXCOM_RFXtrx433_A1Y0NJGR-if00-port0'), 'dummy': True}}))
    self.assertTrue(setup_component(self.hass, 'sensor', {'sensor': {'platform': 'rfxtrx', 'automatic_add': True, 'devices': {}}}))
    self.assertEqual(len(rfxtrx.RFXOBJECT.sensors()), 2)
