'Test with 1 sensor.'

def test_one_sensor(self):

    self.assertTrue(setup_component(self.hass, 'sensor', {'sensor': {'platform': 'rfxtrx', 'devices': {'0a52080705020095220269': {'name': 'Test', 'data_type': 'Temperature'}}}}))
    self.assertEqual(1, len(rfxtrx_core.RFX_DEVICES))
    entity = rfxtrx_core.RFX_DEVICES['sensor_0502']['Temperature']
    self.assertEqual('Test', entity.name)
    self.assertEqual(TEMP_CELSIUS, entity.unit_of_measurement)
    self.assertEqual(None, entity.state)
