'Return False when required config items are missing.'

def test_validate_config_missing_required(self):

    for key in TEST_CONFIG['sensor']:
        if (key in KEYS_AND_DEFAULTS):
            continue
        config = copy(TEST_CONFIG['sensor'])
        del config[key]
        with assert_setup_component(0, 'sensor'):
            assert setup_component(self.hass, 'sensor', {'tcp': config})
