'Test configuration.'

def test_valid_config_no_name(self):

    with assert_setup_component(1, 'switch'):
        assert setup_component(self.hass, 'switch', {'switch': {'platform': 'flux', 'lights': ['light.desk', 'light.lamp']}})
