def METHOD_NAME(cond, op_type):
    """Convert conditions dictionaries."""
    return {
        "heating_temperature": [convert_value(x) for x in cond["temperature"]],
        "heating_time": [convert_value(x) for x in cond["time"]],
        "heating_atmosphere": [x.strip() for x in cond["environment"] if x.strip()]
        if op_type == "HeatingOperation"
        else [],
        "mixing_device": (
            cond["environment"][1].strip() if cond["environment"][1].strip() else None
        )
        if op_type == "MixingOperation"
        else None,
        "mixing_media": (
            cond["environment"][0].strip() if cond["environment"][0].strip() else None
        )
        if op_type == "MixingOperation"
        else None,
    }