def create_hue_success_response(entity_id, attr, value):
    """Create a success response for an attribute set on a light."""
    success_key = f'/lights/{entity_id}/state/{attr}'
    return {'success': {success_key: value}}
