def result_fixture(controller_state, uuid4):
    """Return a server result message."""
    return {
        "messageId": uuid4,
        "result": {"state": controller_state},
        "success": True,
        "type": "result",
    }