'Setup platform with one entity and set name.'

@patch('homeassistant.components.microsoft_face.MicrosoftFace.update_store', return_value=mock_coro())
def test_setup_platform_name(self, store_mock):

    config = {ip.DOMAIN: {'platform': 'microsoft_face_identify', 'source': {'entity_id': 'camera.demo_camera', 'name': 'test    local'}, 'group': 'Test    Group1'}, 'camera': {'platform': 'demo'}, mf.DOMAIN: {'api_key': '12345678abcdef6'}}
    with assert_setup_component(1, ip.DOMAIN):
        setup_component(self.hass, ip.DOMAIN, config)
    assert self.hass.states.get('image_processing.test_local')
